Skip to main content

autoread_watch_fingerprint

Function autoread_watch_fingerprint 

Source
pub fn autoread_watch_fingerprint(
    watches: &HashMap<PathBuf, HashSet<String>>,
) -> u64
Expand description

AR.3: order-independent fingerprint of a desired watch set, used as the cheap “did the set change since the last sync?” gate. Sorting the dirs and each dir’s basenames makes the hash independent of HashMap iteration order.