addPreopenedDirectory
fun addPreopenedDirectory(realPath: String, virtualPath: String): FileSystemSimpleConfigBlock(source)
Adds a pre-opened directory. The directory is mapped from a real path on the host system to a virtual path on the WASM FileSystem.
Parameters
realPath
The path of the directory on the real file system.
virtualPath
Mount point inside the virtual file system.