mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Trimming of stuff to get into the snapshotting mood
This commit is contained in:
parent
ee0a5cada3
commit
b732c43274
4 changed files with 52 additions and 68 deletions
|
|
@ -76,9 +76,10 @@ impl Imfs {
|
|||
if self.is_within_roots(parent_path) && self.get(parent_path).is_none() {
|
||||
self.path_created(parent_path)?;
|
||||
}
|
||||
} else {
|
||||
ImfsItem::read_from_disk(self, path)?;
|
||||
}
|
||||
|
||||
ImfsItem::read_from_disk(self, path)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
@ -90,9 +91,10 @@ impl Imfs {
|
|||
if self.is_within_roots(parent_path) && self.get(parent_path).is_none() {
|
||||
self.path_created(parent_path)?;
|
||||
}
|
||||
} else {
|
||||
ImfsItem::read_from_disk(self, path)?;
|
||||
}
|
||||
|
||||
ImfsItem::read_from_disk(self, path)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue