Functions for Interacting with the Filesystem

starlark_tugger.glob(include=List[str], exclude=Optional[List[str]], strip_prefix=Optional[str]) FileManifest

The glob() function resolves file patterns to a starlark_tugger.FileManifest.

This function accepts the following arguments:


Defines file patterns that will be matched using the glob Rust crate. If patterns begin with / or look like a filesystem absolute path, they are absolute. Otherwise they are evaluated relative to the directory of the current config file.


File patterns used to exclude files from the result. All patterns in include are evaluated before exclude.


Prefix to strip from the beginning of matched files. strip_prefix is stripped after include and exclude are processed.