MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / MockFs

Method MockFs

tests/unit_test/vfs_test.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 Inode root_inode;
46
47 MockFs() {
48 root_inode.type = FileType::kDirectory;
49 root_inode.ino = 1;
50 root_inode.ops = nullptr; // MockFs doesn't provide InodeOps
51 }
52
53 [[nodiscard]] auto GetName() const -> const char* override {
54 return "mockfs";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected