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

Method OPFSFile

system/lib/wasmfs/backends/opfs_backend.cpp:143–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 OpenState state;
142
143 OPFSFile(mode_t mode, backend_t backend, int fileID, Worker& proxy)
144 : DataFile(mode, backend), proxy(proxy), fileID(fileID) {}
145
146 ~OPFSFile() override {
147 assert(state.getKind() == OpenState::None);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected