Skip to content

Commit

Permalink
solution: take one
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 7338737 commit 05ab5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs-index/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pub(crate) fn discover_paths<P: AsRef<Path>>(
println!("\t\tEntry: {:?}", entry.path());
// print entry type
println!("\t\t\tEntry Type: {:?}", entry.file_type());
if entry.file_type().is_file() {
if !entry.file_type().is_dir() {
Some(entry)
} else {
None
Expand Down

0 comments on commit 05ab5a6

Please sign in to comment.