pub fn copy_caches(
from: &Path,
to: &Path,
cancel: &AtomicBool,
progress: &mut CopyProgress<'_>,
) -> Result<u64>Expand description
Copy the movable caches from from to to (each holding thumbnails/
and faces/), skipping files already there at the same size. Stops
early, without error, when cancel is set. Returns files copied.