Function dia_files::on_same_unix_device

source ·
pub async fn on_same_unix_device<P, Q>(first: P, second: Q) -> Result<bool>
where P: AsRef<Path>, Q: AsRef<Path>,
Available on crate feature async-std and Unix only.
Expand description

§Checks if two paths are on a same Unix device

If either file does not exist, the function returns Ok(false).