Skip to main content

record_paths

Function record_paths 

Source
pub fn record_paths<'a>(
    paths: impl IntoIterator<Item = &'a Path>,
) -> IntentGuard
Expand description

Called before the first possible filesystem mutation, not after success. Directory intents invalidate the whole watcher epoch: their descendants (including newly created names) cannot safely be enumerated from an index.