forked from rojo-rbx/rojo
Fix rojo plugin install by adding Vfs::exists (#1169)
This commit is contained in:
@@ -157,6 +157,11 @@ impl VfsBackend for InMemoryFs {
|
||||
)
|
||||
}
|
||||
|
||||
fn exists(&mut self, path: &Path) -> io::Result<bool> {
|
||||
let inner = self.inner.lock().unwrap();
|
||||
Ok(inner.entries.contains_key(path))
|
||||
}
|
||||
|
||||
fn read_dir(&mut self, path: &Path) -> io::Result<ReadDir> {
|
||||
let inner = self.inner.lock().unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user