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

Method getFusedFilesInFolderIfCached

external/.scrollLibs.js:22009–22014  ·  view source on GitHub ↗
(folderPath, requester)

Source from the content-addressed store, hash-verified

22007 return file
22008 }
22009 getFusedFilesInFolderIfCached(folderPath, requester) {
22010 folderPath = Utils.ensureFolderEndsInSlash(folderPath)
22011 const hit = this._folderCache[folderPath]
22012 if (!hit) console.log(`Warning: '${folderPath}' not yet loaded in '${this.scrollFileSystemIdNumber}'. Requested by '${requester.filePath}'`)
22013 return hit || []
22014 }
22015 // todo: this is weird. i know we evolved our way here but we should step back and clean this up.
22016 async getFusedFilesInFolder(folderPath, extension) {
22017 folderPath = Utils.ensureFolderEndsInSlash(folderPath)

Callers

nothing calls this directly

Calls 2

logMethod · 0.80

Tested by

no test coverage detected