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

Method getFile

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

Source from the content-addressed store, hash-verified

22001 return file
22002 }
22003 async getFile(absolutePath) {
22004 if (this._fusedFiles[absolutePath]) return this._fusedFiles[absolutePath]
22005 const file = new ScrollFile(undefined, absolutePath, this)
22006 this._fusedFiles[absolutePath] = file
22007 return file
22008 }
22009 getFusedFilesInFolderIfCached(folderPath, requester) {
22010 folderPath = Utils.ensureFolderEndsInSlash(folderPath)
22011 const hit = this._folderCache[folderPath]

Callers 1

getFusedFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected