1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use std::{path::PathBuf, sync::mpsc}; use crate::FileEvent; pub struct Watcher {} impl Watcher { pub fn new(_: PathBuf) -> Self { todo!() } pub fn watch_for_changes(&self) -> mpsc::Receiver<FileEvent> { todo!() } }