mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 20:55:50 +00:00
Add ImfsSnapshot::empty_dir() for debugging the Imfs
This commit is contained in:
@@ -23,6 +23,12 @@ impl ImfsSnapshot {
|
||||
|
||||
ImfsSnapshot::Directory(DirectorySnapshot { children })
|
||||
}
|
||||
|
||||
pub fn empty_dir() -> ImfsSnapshot {
|
||||
ImfsSnapshot::Directory(DirectorySnapshot {
|
||||
children: Default::default(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user