mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
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
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue