Skip to main content

scan

Function scan 

Source
pub fn scan(
    root: &Path,
    config: &Config,
    extra_ignores: &[String],
) -> Result<Vec<SourceFile>>
Expand description

Discover and read supported configuration files below root.

ยงErrors

Returns an error for invalid ignore patterns, traversal failures, unreadable relevant files, or non-UTF-8 agent configuration.