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

Class stat

system/lib/wasmfs/js_api.cpp:32–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 static_assert(sizeof(off_t) == 8, "File offset type must be 64-bit");
31
32 struct stat file;
33 int err = 0;
34 err = stat(path, &file);
35 if (err < 0) {

Callers 2

_wasmfs_read_fileFunction · 0.70
_wasmfs_identifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected