pub trait FileWatcher: Send + Sync {
// Required methods
fn start(&self) -> Result<()>;
fn stop(&self) -> Result<()>;
}Expand description
File watcher trait for testability
This trait allows mocking file watching behavior in tests, following London School TDD principles of defining contracts through interfaces.