Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
28
public:
29
VirtualDataFile(std::shared_ptr<DataFile> real, backend_t backend)
30
: DataFile(real->locked().getMode(), backend), real(real) {}
31
32
protected:
33
virtual off_t getSize() override { return real->locked().getSize(); }
Callers
nothing calls this directly
Calls
2
getMode
Method · 0.80
locked
Method · 0.45
Tested by
no test coverage detected