hni 0.0.3

ni-compatible package manager command router with node shim
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub mod node;

use std::path::Path;

pub fn paths_equal(a: &Path, b: &Path) -> bool {
    a == b
        || dunce::canonicalize(a)
            .ok()
            .zip(dunce::canonicalize(b).ok())
            .is_some_and(|(a, b)| a == b)
}