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 0a243e0 commit 1e892afCopy full SHA for 1e892af
src/api.js
@@ -1425,4 +1425,9 @@ Module["onRuntimeInitialized"] = function onRuntimeInitialized() {
1425
let fileInfo = filesInfo.find(f => f[1] === path);
1426
sqliteFiles.delete(fileInfo[0])
1427
}
1428
+
1429
+ Module["reset_filesystem"] = () => {
1430
+ FS.root = null;
1431
+ FS.staticInit();
1432
+ }
1433
};
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