Skip to main content

Module watcher

Module watcher 

Source
Expand description

File system watcher for detecting changes.

Re-exportsยง

use notify_debouncer_full::notify::RecommendedWatcher; ๐Ÿ”’
use notify_debouncer_full::notify::RecursiveMode; ๐Ÿ”’
use notify_debouncer_full::DebounceEventResult; ๐Ÿ”’
use notify_debouncer_full::Debouncer; ๐Ÿ”’
use notify_debouncer_full::RecommendedCache; ๐Ÿ”’
use notify_debouncer_full::new_debouncer; ๐Ÿ”’
use ragfs_core::FileEvent; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use std::sync::atomic::AtomicUsize; ๐Ÿ”’
use std::sync::atomic::Ordering; ๐Ÿ”’
use std::sync::mpsc; ๐Ÿ”’
use std::time::Duration; ๐Ÿ”’
use tokio::sync::mpsc as tokio_mpsc; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’
use tracing::error; ๐Ÿ”’
use tracing::warn; ๐Ÿ”’
use crate::exclude::ExclusionMatcher; ๐Ÿ”’

Structsยง

FileWatcher
File system watcher with debouncing.

Functionsยง

convert_event ๐Ÿ”’
handle_debounced_events ๐Ÿ”’