mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-22 21:55:15 +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 })
|
ImfsSnapshot::Directory(DirectorySnapshot { children })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn empty_dir() -> ImfsSnapshot {
|
||||||
|
ImfsSnapshot::Directory(DirectorySnapshot {
|
||||||
|
children: Default::default(),
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
|
|||||||
Reference in New Issue
Block a user