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

Method buildCommand

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

Source from the content-addressed store, hash-verified

163 }
164
165 async buildCommand(cwd, filenames) {
166 if (filenames && filenames.length) {
167 const files = await this.getFiles(cwd, filenames)
168 this.log(`Building ${filenames.length} scroll files\n`)
169 return await this.buildFiles(this.sfs, files, cwd)
170 }
171 await this.buildFilesInFolder(this.resolvePath(cwd))
172 return this
173 }
174
175 async buildFiles(fileSystem, files, folder, options = {}) {
176 const start = Date.now()

Callers 2

cloneMethod · 0.95
scroll.test.jsFile · 0.80

Calls 5

getFilesMethod · 0.95
buildFilesMethod · 0.95
buildFilesInFolderMethod · 0.95
logMethod · 0.80
resolvePathMethod · 0.45

Tested by

no test coverage detected