Functions for Interacting with the Filesystem¶
glob()¶
The glob() function resolves file patterns to a
FileManifest.
This function accepts the following arguments:
include- (
listofstring) Defines file patterns that will be matched using theglobRust 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- (
listofstringorNone) File patterns used to exclude files from the result. All patterns inincludeare evaluated beforeexclude. strip_prefix- (
stringorNone) Prefix to strip from the beginning of matched files.strip_prefixis stripped afterincludeandexcludeare processed.
Returns a FileManifest.