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

Method getFiles

scroll.js:159–163  ·  view source on GitHub ↗
(cwd, filenames)

Source from the content-addressed store, hash-verified

157 }
158
159 async getFiles(cwd, filenames) {
160 const fullPaths = this.resolveFilenames(cwd, filenames)
161 const files = await Promise.all(fullPaths.map(fp => this.sfs.getFusedFile(fp)))
162 return files
163 }
164
165 async buildCommand(cwd, filenames) {
166 if (filenames && filenames.length) {

Callers 5

testCommandMethod · 0.95
formatCommandMethod · 0.95
buildCommandMethod · 0.95
listMethod · 0.80
_loadDefaultParserMethod · 0.80

Calls 3

resolveFilenamesMethod · 0.95
mapMethod · 0.80
getFusedFileMethod · 0.80

Tested by

no test coverage detected