mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 12:01:38 +00:00
Track watched paths in ImfsFetcher, exposed via ImfsDebug interface
This commit is contained in:
parent
c140823bea
commit
b4a8dec68c
3 changed files with 41 additions and 3 deletions
|
|
@ -29,4 +29,9 @@ pub trait ImfsFetcher {
|
|||
fn watch(&mut self, path: &Path);
|
||||
fn unwatch(&mut self, path: &Path);
|
||||
fn receiver(&self) -> Receiver<ImfsEvent>;
|
||||
|
||||
/// A method intended for debugging what paths the fetcher is watching.
|
||||
fn watched_paths(&self) -> Vec<&Path> {
|
||||
Vec::new()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue