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

@ -9,7 +9,8 @@ use crate::path_map::PathMap;
use super::{
error::{FsError, FsResult},
fetcher::{FileType, ImfsEvent, ImfsFetcher},
event::ImfsEvent,
fetcher::{FileType, ImfsFetcher},
snapshot::ImfsSnapshot,
};
@ -425,7 +426,7 @@ mod test {
use crossbeam_channel::Receiver;
use maplit::hashmap;
use super::super::{error::FsErrorKind, fetcher::ImfsEvent, noop_fetcher::NoopFetcher};
use super::super::{error::FsErrorKind, event::ImfsEvent, noop_fetcher::NoopFetcher};
#[test]
fn from_snapshot_file() {