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 astarlark_tugger.FileManifest.This function accepts the following arguments:
include- 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. exclude- File patterns used to exclude files from the result. All patterns in
includeare evaluated beforeexclude. strip_prefix- Prefix to strip from the beginning of matched files.
strip_prefixis stripped afterincludeandexcludeare processed.