Skip to main content

path_scope

Function path_scope 

Source
pub fn path_scope(literal: &str, camp_root: &Path) -> PathScope
Expand description

Classify a literal argument string by how far it can reach relative to camp_root. Pure — no disk I/O; uses static path analysis only.

Call this only when arg_provenance returned Literal; the result is meaningless for variable/glob/substitution arguments.