Re-implement VFS internals in C++, removing the constraints of the previous implementation.

PiperOrigin-RevId: 649433087
Change-Id: Icaa3e6b7f2ef14f56b04fef2f4360b46d8b5f022
This commit is contained in:
Kyle Bayes
2024-07-04 09:21:18 -07:00
committed by Copybara-Service
parent 118b6810b3
commit 57e6760ec9
19 changed files with 513 additions and 717 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ namespace Mujoco {
var filename = "filename";
var contents = "contents";
_vfs.AddFile(filename, contents);
Assert.That(_vfs.FilesCount, Is.EqualTo(1));
Assert.That(() => { _vfs.AddFile(filename, contents); }, Throws.Exception); // duplicate file
}
}
}