dotnet / dotnet/runtime

[browser][nodeJS] expose FS.mount via dotnet builder API

Open
#123,708 1 comment 1 reaction 1 assignee Claimed by @pavelsavara View on GitHub
arch-wasm area-System.Runtime.InteropServices.JavaScript feature-request os-browser
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

```js
import { dotnet } from './_framework/dotnet.js'

await dotnet
.withHostFolder("./data-on-host", "/data-in-VFS")
.run()
```

Which can me implemented as
```js
FS.mount(NODEFS, { root: "./data-on-host" }, "/data-in-VFS");
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.