fix race condition when resizing images - covers could be a duplicate of an existing image

This commit is contained in:
Nick Pegg 2025-05-08 08:18:56 -07:00
parent 955f5833cc
commit ed31a6724a
3 changed files with 152 additions and 129 deletions

View file

@ -18,7 +18,6 @@ pub struct AlbumDir {
}
impl AlbumDir {
// TODO: Add iterator over image dirs
/// Returns an iterator over all images in the album and subalbums
pub fn iter_all_images(&self) -> AlbumImageIter {
AlbumImageIter::new(self)