Skip to main content

classify_path

Function classify_path 

Source
pub fn classify_path(path: &Path) -> SensitivityLevel
Expand description

Classify a source path. Secret-like paths (keys, .env, .ssh/…) → Secret. Everything else stays Public — path alone is not enough to infer lower confidential levels without guessing.