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

Method close

system/lib/wasmfs/backends/node_backend.cpp:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 }
89
90 int close() {
91 int ret = 0;
92 if (--openCount == 0) {
93 ret = _wasmfs_node_close(fd);
94 *this = NodeState(path);
95 }
96 return ret;
97 }
98};
99
100class NodeFile : public DataFile {

Callers

nothing calls this directly

Calls 1

NodeStateClass · 0.85

Tested by

no test coverage detected