We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1acb3f4 commit ebc92a0Copy full SHA for ebc92a0
src/api.js
@@ -1277,4 +1277,9 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
1277
let fileInfo = filesInfo.find(f => f[1] === path);
1278
sqliteFiles.delete(fileInfo[0])
1279
}
1280
+
1281
+ Module["reset_filesystem"] = () => {
1282
+ FS.root = null;
1283
+ FS.staticInit();
1284
+ }
1285
};
src/fs-externs.js
@@ -5,10 +5,8 @@
5
Module.FS = class {
6
constructor() {
7
this.ErrnoError = class {};
8
- this.filesystems = {}
9
10
mount() {}
11
- unmount() {}
12
isRoot() {}
13
isFile() {}
14
isDir() {}
0 commit comments