ignore .DS_Store in trash
https://anki.tenderapp.com/discussions/ankidesktop/40035-anki-2123-on-macos-ds_store-files-in-new-anki-trash
This commit is contained in:
parent
5fe747f14a
commit
d396460332
@ -313,7 +313,12 @@ where
|
||||
self.maybe_fire_progress_cb()?;
|
||||
}
|
||||
|
||||
if dentry.file_name() == ".DS_Store" {
|
||||
continue;
|
||||
}
|
||||
|
||||
let meta = dentry.metadata()?;
|
||||
|
||||
total_files += 1;
|
||||
total_bytes += meta.len();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user