Collectors decide if a node (typically a file) is part of a layer. You can use multiple different collectors for a layer.
ModuleRecursive
CollectorThe ModuleRecursive
collector finds all files in the given module and all its submodules
layers:
- name: Contract
collectors:
- type: Module
path: 'deptracpy'
Module
CollectorThe Module
collector finds all files in the given module but does NOT search through submodules/subdirectories.
layers:
- name: Contract
collectors:
- type: Module
path: 'deptracpy'