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

Method Handle

system/lib/wasmfs/file_table.h:87–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86 public:
87 Handle(std::shared_ptr<OpenFileState> openFileState)
88 : openFileState(openFileState), lock(openFileState->mutex) {}
89
90 std::shared_ptr<File>& getFile() { return openFileState->file; };
91

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected