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: Impl Debug for ReadDir #103

Closed nicholasbishop closed 3 months ago

nicholasbishop commented 3 months ago

This is mostly desirable so that unwrap can be called on the result of Ext4::read_dir.

Only the path field is included in the output, matching the behavior of std::fs::ReadDir.

A test will be added in a later commit, after Ext4::read_dir is added.