Add a bit of documentation, this code is lacking it

This commit is contained in:
Lucien Greathouse 2018-01-03 16:00:27 -08:00
parent 9720c56765
commit f00152a9ac
2 changed files with 11 additions and 0 deletions

View file

@ -8,6 +8,8 @@ use core::Config;
use pathext::path_to_route;
use vfs::Vfs;
/// An object that registers watchers on the real filesystem and relays those
/// changes to the virtual filesystem layer.
pub struct VfsWatcher {
vfs: Arc<Mutex<Vfs>>,
watchers: Vec<RecommendedWatcher>,