A greatly simplified file event struct, containing only one path and one simplified event kind.
Additionally, these will be debounced on top of the debouncer to ensure only one path/kind per debounced event list.
An SPath is a posix normalized Path using camino Utf8PathBuf as strogate.
It can be constructed from a String, Path, io::DirEntry, or walkdir::DirEntry
Returns an iterator over directories in the specified dir filtered optionally by include_globs
and list_options. This implementation uses the internal GlobsDirIter.
Same as into_collapsed except that if Component::Prefix or Component::RootDir
is encountered in a path that is supposed to be relative, or if the path attempts
to navigate above its starting point using .., it returns None.
A simplified watcher that monitors a path (file or directory) and returns an SWatcher object with a
standard mpsc Receiver for a Vec<SEvent>.
Each SEvent contains one spath and one simplified event kind (SEventKind).
This will ignore any path that cannot be converted to a string (i.e., it will only trigger events if the path is valid UTF-8)