nicholasbishop / ext4-view-rs

Rust library for reading ext2/ext4 filesystems
https://crates.io/crates/ext4-view
Apache License 2.0
8 stars 2 forks source link

Add resolve module #125

Closed nicholasbishop closed 3 months ago

nicholasbishop commented 3 months ago

This module will contain a revamped version of path_to_inode, with proper handling for ".." and symlinks.

For this initial commit, just add FollowSymlinks, which will control how symlinks are resolved. For why this is needed, see the difference between fs::metadata and fs::symlink_metadata: