aboutsummaryrefslogtreecommitdiff
path: root/crates/server/src/vfs.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-09-01 18:21:11 +0100
committerAleksey Kladov <[email protected]>2018-09-01 18:21:11 +0100
commit541170420bb6f9a5c0e8d6f56865567fd8ae0f93 (patch)
treea58366d1c9412d3192fc636c7912dcb8514baab3 /crates/server/src/vfs.rs
parente8515fecd7a42870f2979c7900c94b59d935901c (diff)
Add an integration test
Diffstat (limited to 'crates/server/src/vfs.rs')
-rw-r--r--crates/server/src/vfs.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/server/src/vfs.rs b/crates/server/src/vfs.rs
index a5c367494..2e4319cdb 100644
--- a/crates/server/src/vfs.rs
+++ b/crates/server/src/vfs.rs
@@ -11,11 +11,13 @@ use walkdir::WalkDir;
11use Result; 11use Result;
12 12
13 13
14#[derive(Debug)]
14pub struct FileEvent { 15pub struct FileEvent {
15 pub path: PathBuf, 16 pub path: PathBuf,
16 pub kind: FileEventKind, 17 pub kind: FileEventKind,
17} 18}
18 19
20#[derive(Debug)]
19pub enum FileEventKind { 21pub enum FileEventKind {
20 Add(String), 22 Add(String),
21 #[allow(unused)] 23 #[allow(unused)]