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

Function isExportedByForceFilesystem

src/runtime_debug.js:92–105  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

90
91// forcing the filesystem exports a few things by default
92function isExportedByForceFilesystem(name) {
93 return name === 'FS_createPath' ||
94 name === 'FS_createDataFile' ||
95 name === 'FS_createPreloadedFile' ||
96 name === 'FS_preloadFile' ||
97 name === 'FS_unlink' ||
98 name === 'addRunDependency' ||
99#if !WASMFS
100 // The old FS has some functionality that WasmFS lacks.
101 name === 'FS_createLazyFile' ||
102 name === 'FS_createDevice' ||
103#endif
104 name === 'removeRunDependency';
105}
106
107#if !MODULARIZE
108/**

Callers 2

missingLibrarySymbolFunction · 0.70
getFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected