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