Skip to content

Commit

Permalink
nearly there
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 58cd14f commit 7338737
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fs-index/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ pub(crate) fn discover_paths<P: AsRef<Path>>(
let paths = walker
.filter_map(|entry| {
let entry = entry.ok()?;
// Print entry (tabbed)
println!("\t\tEntry: {:?}", entry.path());
// print entry type
println!("\t\t\tEntry Type: {:?}", entry.file_type());
if entry.file_type().is_file() {
Some(entry)
} else {
Expand Down

0 comments on commit 7338737

Please sign in to comment.