MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / VirtualDataFile

Method VirtualDataFile

system/lib/wasmfs/virtual.h:29–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28public:
29 VirtualDataFile(std::shared_ptr<DataFile> real, backend_t backend)
30 : DataFile(real->locked().getMode(), backend), real(real) {}
31
32protected:
33 virtual off_t getSize() override { return real->locked().getSize(); }

Callers

nothing calls this directly

Calls 2

getModeMethod · 0.80
lockedMethod · 0.45

Tested by

no test coverage detected