Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

LRC-LIB-LIBFOLDERS: the sync module docs say the walk stops when the scan is cancelled

Nathaniel Ledfordd1d3dbbb0e0c
diff --git a/crates/engine/src/sync.rs b/crates/engine/src/sync.rs
index eab923e5e..6f641fa22 100644
--- a/crates/engine/src/sync.rs
+++ b/crates/engine/src/sync.rs
@@ -34,8 +34,8 @@
//! - a sidecar is found as Read Metadata from File finds it, including the other naming
//! scheme's file (`IMG_1.xmp` for `IMG_1.JPG` beside `IMG_1.CR3`).
//!
-//! The walk for new files stops at the import's limits on depth and entries (logged), and is
-//! not cancelled midway.
+//! The walk for new files stops at the import's limits on depth and entries (logged), or when the
+//! scan is cancelled.
use std::collections::HashMap;
use std::path::{Path, PathBuf};