Skip to content

Commit

Permalink
print metadata length
Browse files Browse the repository at this point in the history
Signed-off-by: Tarek <[email protected]>
  • Loading branch information
tareknaser committed Aug 6, 2024
1 parent 339cf86 commit fd82d99
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fs-index/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@ fn should_index(entry: &walkdir::DirEntry) -> bool {

println!("\t\tFile metadata: {:?}", entry.metadata());

println!(
"\t\tFile metadata len: {:?}",
entry.metadata().map(|m| m.len())
);

// Check if the entry is hidden
if entry
.file_name()
Expand Down

0 comments on commit fd82d99

Please sign in to comment.