Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
export
async
function
write(file: File) {
2
await
writeFiles([file]);
3
}
4
5
async
function
getRoot() {
6
// Open the "root" of the website's (origin's) private filesystem (OPFS):
Callers
nothing calls this directly
Calls
1
writeFiles
Function · 0.85
Tested by
no test coverage detected