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

Method buildFilesInFolder

scroll.js:204–209  ·  view source on GitHub ↗
(folder = "/", fileSystem = this.sfs)

Source from the content-addressed store, hash-verified

202 }
203
204 async buildFilesInFolder(folder = "/", fileSystem = this.sfs) {
205 folder = ensureFolderEndsInSlash(folder)
206 const files = await fileSystem.getFusedFilesInFolder(folder, ".scroll")
207 this.log(`Found ${files.length} scroll files in '${folder}'\n`)
208 return await this.buildFiles(fileSystem, files, folder)
209 }
210
211 listCommand(cwd) {
212 return this.findScrollsInDirRecursive(cwd)

Callers 2

buildCommandMethod · 0.95
scroll.test.jsFile · 0.80

Calls 4

buildFilesMethod · 0.95
ensureFolderEndsInSlashFunction · 0.85
getFusedFilesInFolderMethod · 0.80
logMethod · 0.80

Tested by

no test coverage detected