New Imfs event type

This commit is contained in:
Lucien Greathouse 2019-10-01 11:29:09 -07:00
parent 1737da9c1f
commit 694b6101ca
3 changed files with 49 additions and 25 deletions

View file

@ -1,2 +1,8 @@
// TODO: Use our own event type instead of notify's.
pub type ImfsEvent = notify::DebouncedEvent;
use std::path::PathBuf;
#[derive(Debug)]
pub enum ImfsEvent {
Modified(PathBuf),
Created(PathBuf),
Removed(PathBuf),
}