[−][src]Function dia_args::paths::permissions::ensure_safe
pub fn ensure_safe<P>(file: P, permissions: Permissions) -> Result<()> where
P: AsRef<Path>,
Ensures that input file's permissions must be equal to, or more restrictive than the ones you provide
This function always returns Ok(())
on non-Unix systems.