Skip to main content

builtin_sys_glob

Function builtin_sys_glob 

Source
fn builtin_sys_glob(
    args: &[RValue],
    _named: &[(String, RValue)],
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Expand file system glob patterns to matching paths.

Uses the glob crate for file-system expansion. When globset-support is enabled, pattern validation is done via globset for better error messages, though actual path enumeration still goes through glob::glob() since globset is a pattern matcher, not a directory walker.

@param … character scalars: glob patterns (e.g. “.R”, “src/**/.rs”) @return character vector of matching file paths