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

Method JSImplFile

system/lib/wasmfs/js_impl_backend.h:105–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103
104public:
105 JSImplFile(mode_t mode, backend_t backend) : DataFile(mode, backend) {
106 _wasmfs_jsimpl_alloc_file(getBackendIndex(), getFileIndex());
107 }
108
109 ~JSImplFile() { _wasmfs_jsimpl_free_file(getBackendIndex(), getFileIndex()); }
110};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected