is_safe_path

Function is_safe_path 

Source
pub fn is_safe_path(path: &Path) -> bool
Expand description

Validate path to prevent directory traversal attacks. This is a conservative check used before performing mutations.