MCPcopy Create free account
hub / github.com/breck7/scroll / write

Method write

external/.scrollLibs.js:21814–21819  ·  view source on GitHub ↗
(absolutePath, content)

Source from the content-addressed store, hash-verified

21812 return this.inMemoryFiles[absolutePath] !== undefined
21813 }
21814 async write(absolutePath, content) {
21815 if (isUrl(absolutePath)) {
21816 throw new Error("Cannot write to URL")
21817 }
21818 this.inMemoryFiles[absolutePath] = content
21819 }
21820 async list(absolutePath) {
21821 if (isUrl(absolutePath)) {
21822 return []

Callers

nothing calls this directly

Calls 1

isUrlFunction · 0.85

Tested by

no test coverage detected