MCPcopy Create free account
hub / github.com/ninja-build/ninja / VirtualFileSystem

Method VirtualFileSystem

src/test.h:52–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50/// so it can be used by tests to verify disk access patterns.
51struct VirtualFileSystem : public DiskInterface {
52 VirtualFileSystem() : now_(1) {}
53
54 /// "Create" a file with contents.
55 void Create(const std::string& path, const std::string& contents);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected