solidipes.scanners.scanner_local module

class solidipes.scanners.scanner_local.ExportScanner(search_path: str = '.')[source]

Bases: ScannerLocal

A scanner that keeps the .solidipes directory.

_abc_impl = <_abc._abc_data object>
is_excluded(path: str, excluded_patterns: Set[str] | None = None) bool[source]

Check whether the provided path is excluded by any of the scanner’s patterns.

class solidipes.scanners.scanner_local.ScannerLocal(**kwargs)[source]

Bases: Scanner

A class to scan a directory to load files and groups.

All paths are given relative to the scanner’s root path.

_abc_impl = <_abc._abc_data object>
add_filepath(filestruct: FileStruct) None[source]
fill_filepath_tree() None[source]

Get a tree of all filepaths, organized by directory. relative to the search path.

get_loader(filestruct: FileStruct)[source]