From 339cf866ac0676c98e9bba009c83506d255f0f8d Mon Sep 17 00:00:00 2001 From: Tarek Date: Tue, 6 Aug 2024 21:58:39 +0300 Subject: [PATCH] I think I got it Signed-off-by: Tarek --- fs-index/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs-index/src/utils.rs b/fs-index/src/utils.rs index fd94a994..f19158be 100644 --- a/fs-index/src/utils.rs +++ b/fs-index/src/utils.rs @@ -184,7 +184,7 @@ fn should_index(entry: &walkdir::DirEntry) -> bool { if entry .metadata() .map(|m| m.len() == 0) - .unwrap_or(false) + .unwrap_or(true) { println!("\t\tFile is empty"); return false;