From 7338737dd1d576d06e83f7deb9a6d6f60f950741 Mon Sep 17 00:00:00 2001 From: Tarek Date: Tue, 6 Aug 2024 18:27:20 +0300 Subject: [PATCH] nearly there Signed-off-by: Tarek --- fs-index/src/utils.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fs-index/src/utils.rs b/fs-index/src/utils.rs index 6b97a97d..a8444b98 100644 --- a/fs-index/src/utils.rs +++ b/fs-index/src/utils.rs @@ -102,6 +102,10 @@ pub(crate) fn discover_paths>( 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 {