| 35 | |
| 36 | // If the user does not implement this hook, do nothing. |
| 37 | __attribute__((weak)) extern "C" void wasmfs_before_preload(void) {} |
| 38 | |
| 39 | // Set up global data structures and preload files. |
| 40 | WasmFS::WasmFS() : rootDirectory(initRootDirectory()), cwd(rootDirectory) { |