Move ImfsEvent into its own module

This commit is contained in:
Lucien Greathouse 2019-10-01 10:44:35 -07:00
parent bcf4fea598
commit 1737da9c1f
6 changed files with 17 additions and 7 deletions

View file

@ -13,7 +13,10 @@ use crossbeam_channel::{unbounded, Receiver};
use jod_thread::JoinHandle;
use notify::{RecommendedWatcher, RecursiveMode, Watcher};
use super::fetcher::{FileType, ImfsEvent, ImfsFetcher};
use super::{
event::ImfsEvent,
fetcher::{FileType, ImfsFetcher},
};
/// Workaround to disable the file watcher for processes that don't need it,
/// since notify appears hang on to mpsc Sender objects too long, causing Rojo