#[no_mangle]
fn step_by_step_canonicalize(path: &mut PathBuf)
Expand description

Mutates the path in-place Canonicalizes the entire path, if it is possible If it is not possible, then it canonicalizes the head of the path and then appends the tail to it Repeats the process until either the head is successfully canonicalized or the head is the root directory