MCPcopy Create free account
hub / github.com/GoogleChrome/samples / isExportedByForceFilesystem

Function isExportedByForceFilesystem

mkbitmap/mkbitmap.js:953–963  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

951
952// forcing the filesystem exports a few things by default
953function isExportedByForceFilesystem(name) {
954 return name === 'FS_createPath' ||
955 name === 'FS_createDataFile' ||
956 name === 'FS_createPreloadedFile' ||
957 name === 'FS_unlink' ||
958 name === 'addRunDependency' ||
959 // The old FS has some functionality that WasmFS lacks.
960 name === 'FS_createLazyFile' ||
961 name === 'FS_createDevice' ||
962 name === 'removeRunDependency';
963}
964
965function missingGlobal(sym, msg) {
966 if (typeof globalThis !== 'undefined') {

Callers 2

missingLibrarySymbolFunction · 0.85
unexportedRuntimeSymbolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected