Closed nicholasbishop closed 3 months ago
This will replace the simple path resolver in path_to_inode in a later commit. It will also be used to implement a canonicalize method (see https://doc.rust-lang.org/std/fs/fn.canonicalize.html).
path_to_inode
The implementation is a bit hairy, and it's certainly not the most efficient implementation imaginable. However, it is pretty well covered by unit tests and it has some guards against unforeseen bugs.
See the docstring for details.
This will replace the simple path resolver in
path_to_inode
in a later commit. It will also be used to implement a canonicalize method (see https://doc.rust-lang.org/std/fs/fn.canonicalize.html).The implementation is a bit hairy, and it's certainly not the most efficient implementation imaginable. However, it is pretty well covered by unit tests and it has some guards against unforeseen bugs.
See the docstring for details.