mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix rojo plugin install by adding Vfs::exists (#1169)
This commit is contained in:
parent
015b5bda14
commit
93e9c51204
7 changed files with 51 additions and 9 deletions
|
|
@ -63,6 +63,10 @@ impl VfsBackend for StdBackend {
|
|||
fs_err::write(path, data)
|
||||
}
|
||||
|
||||
fn exists(&mut self, path: &Path) -> io::Result<bool> {
|
||||
std::fs::exists(path)
|
||||
}
|
||||
|
||||
fn read_dir(&mut self, path: &Path) -> io::Result<ReadDir> {
|
||||
let entries: Result<Vec<_>, _> = fs_err::read_dir(path)?.collect();
|
||||
let mut entries = entries?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue