Event receiving/committing infrastructure

This commit is contained in:
Lucien Greathouse
2020-02-19 09:36:38 -08:00
parent 339e1060b7
commit 89b5d9294c
3 changed files with 22 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ impl VfsBackend for StdBackend {
})
}
fn event_receiver(&mut self) -> crossbeam_channel::Receiver<VfsEvent> {
fn event_receiver(&self) -> crossbeam_channel::Receiver<VfsEvent> {
self.watcher_receiver.clone()
}