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

dir_entry: Impl Hash for DirEntry/DirEntryNameBuf #63

Closed nicholasbishop closed 4 months ago

nicholasbishop commented 4 months ago

Unlike DirEntryName, DirEntryNameBuf requires a manual impl of Hash because only part of the internal array should be included in the hash.

With Hash implemented for DirEntryNameBuf, Hash can also be derived for DirEntry.