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

Method WasmFS

system/lib/wasmfs/wasmfs.cpp:40–43  ·  view source on GitHub ↗

Set up global data structures and preload files.

Source from the content-addressed store, hash-verified

38
39// Set up global data structures and preload files.
40WasmFS::WasmFS() : rootDirectory(initRootDirectory()), cwd(rootDirectory) {
41 wasmfs_before_preload();
42 preloadFiles();
43}
44
45// Manual integration with LSan. LSan installs itself during startup at the
46// first allocation, which happens inside WasmFS code (since the WasmFS global

Callers

nothing calls this directly

Calls 1

wasmfs_before_preloadFunction · 0.70

Tested by

no test coverage detected