MCPcopy Create free account
hub / github.com/Xyntopia/taskyon / write

Function write

src/modules/OPFS.ts:1–3  ·  view source on GitHub ↗
(file: File)

Source from the content-addressed store, hash-verified

1export async function write(file: File) {
2 await writeFiles([file]);
3}
4
5async function getRoot() {
6 // Open the "root" of the website's (origin's) private filesystem (OPFS):

Callers

nothing calls this directly

Calls 1

writeFilesFunction · 0.85

Tested by

no test coverage detected