feat(storage): add mkdir to FileSystem trait with stubs

This commit is contained in:
2026-10-18 23:06:26 +02:00
parent 25824a01fe
commit d85cb5b55d
8 changed files with 33 additions and 0 deletions

View File

@@ -116,4 +116,6 @@ impl FileSystem for MockFileSystem {
fn file_size(&mut self, handle: FileHandle) -> Option<usize> {
self.files[handle.raw() as usize].as_ref().map(|e| e.size)
}
fn mkdir(&mut self, _path: &[u8]) -> bool { true }
}