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

Method list

external/.scrollLibs.js:21820–21825  ·  view source on GitHub ↗
(absolutePath)

Source from the content-addressed store, hash-verified

21818 this.inMemoryFiles[absolutePath] = content
21819 }
21820 async list(absolutePath) {
21821 if (isUrl(absolutePath)) {
21822 return []
21823 }
21824 return Object.keys(this.inMemoryFiles).filter(filePath => filePath.startsWith(absolutePath) && !filePath.replace(absolutePath, "").includes("/"))
21825 }
21826 async getMTime(absolutePath) {
21827 if (isUrl(absolutePath)) {
21828 const cached = urlCache[absolutePath]

Callers

nothing calls this directly

Calls 3

isUrlFunction · 0.85
replaceMethod · 0.80
filterMethod · 0.45

Tested by

no test coverage detected