Skip to content

Commit

Permalink
Made bclean available for linux as well
Browse files Browse the repository at this point in the history
  • Loading branch information
WolverinDEV committed Jul 1, 2024
1 parent 3b3ae85 commit f18572a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use std::{
},
io,
iter,
os::windows::fs::MetadataExt,
path::{
Path,
PathBuf,
Expand Down Expand Up @@ -57,7 +56,7 @@ pub fn estimate_size_async(dir: PathBuf) -> impl Iterator<Item = u64> {
};

if file_meta.is_file() {
return Some(file_meta.file_size());
return Some(file_meta.len());
}

let _ = walker.insert_entries(&current_entry.path());
Expand Down

0 comments on commit f18572a

Please sign in to comment.