is_safe_path

Function is_safe_path 

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

Validates that a path is safe to access (prevents path traversal and dangerous files).