MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / writeFile

Function writeFile

src/fileSystem/index.js:97–103  ·  view source on GitHub ↗
(content, progress)

Source from the content-addressed store, hash-verified

95 return data;
96 },
97 async writeFile(content, progress) {
98 return ajax.post(url, {
99 data: content,
100 contentType: "application/x-www-form-urlencoded",
101 onprogress: progress,
102 });
103 },
104 };
105 },
106);

Callers

nothing calls this directly

Calls 1

postMethod · 0.80

Tested by

no test coverage detected