source_selection_policy_paths

Function source_selection_policy_paths 

Source
pub fn source_selection_policy_paths(root: &Path) -> FsResult<Vec<PathBuf>>
Expand description

Return bounded external inputs that can change the standard scan ignore policy.

Root-contained nested .gitignore and .ignore files are covered by the recursive source observer. This inventory adds ancestor rules, repository excludes, linked-worktree metadata, and the global Git configuration inputs used by [WalkBuilder]. Paths are retained even when absent so creation is visible to a process-local policy witness.

ยงErrors

Returns an error when the root cannot be canonicalized or a linked-worktree pointer cannot be inspected within its declared bound.