Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ getFD
Method
getFD
system/lib/wasmfs/backends/node_backend.cpp:30–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
NodeState(std::string path) : path(path) {}
29
30
int getFD() {
31
assert(openCount > 0);
32
return fd;
33
}
34
35
bool isOpen() { return openCount > 0; }
36
Callers
4
getSize
Method · 0.80
setSize
Method · 0.80
read
Method · 0.80
write
Method · 0.80
Calls
1
assert
Function · 0.50
Tested by
no test coverage detected