Skip to main content

normalize_events

Function normalize_events 

Source
pub fn normalize_events(
    changed: &[PathBuf],
    removed: &[PathBuf],
) -> Vec<FileEvent>
Expand description

Normalize raw watcher events into semantic FileEvents.

Takes lists of changed (created/modified) and removed paths, and produces a deduplicated list of FileEvents with rename detection.