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

Method list

external/.scrollLibs.js:21744–21749  ·  view source on GitHub ↗
(folder)

Source from the content-addressed store, hash-verified

21742 })
21743 }
21744 async list(folder) {
21745 if (isUrl(folder)) {
21746 return [] // URLs don't support directory listing
21747 }
21748 return Disk.getFiles(folder)
21749 }
21750 async write(fullPath, content) {
21751 if (isUrl(fullPath)) {
21752 throw new Error("Cannot write to URL")

Callers

nothing calls this directly

Calls 2

isUrlFunction · 0.85
getFilesMethod · 0.80

Tested by

no test coverage detected