Functions for Interacting with the Filesystem¶
- starlark_tugger.glob(include=List[str], exclude=Optional[List[str]], strip_prefix=Optional[str]) FileManifest ¶
glob()function resolves file patterns to a
This function accepts the following arguments:
Defines file patterns that will be matched using the
globRust 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
includeare evaluated before
Prefix to strip from the beginning of matched files.
strip_prefixis stripped after