MCPcopy Index your code
hub / github.com/python/cpython / mountDirectories

Function mountDirectories

Platforms/emscripten/node_entry.mjs:22–27  ·  view source on GitHub ↗
(Module)

Source from the content-addressed store, hash-verified

20}
21
22function mountDirectories(Module) {
23 for (const dir of rootDirsToMount(Module)) {
24 Module.FS.mkdirTree(dir);
25 Module.FS.mount(Module.FS.filesystems.NODEFS, { root: dir }, dir);
26 }
27}
28
29const thisProgram = "--this-program=";
30const thisProgramIndex = process.argv.findIndex((x) =>

Callers 1

preRunFunction · 0.85

Calls 1

rootDirsToMountFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…