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