Skip to main content

is_system_path

Function is_system_path 

Source
pub fn is_system_path(path: &str) -> bool
Expand description

Check if a path targets a sensitive system directory.

Returns true if the resolved path matches any blocked system path.