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

Method createReadStream

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

Source from the content-addressed store, hash-verified

21736 return file.content
21737 }
21738 async createReadStream(absolutePath) {
21739 const fd = await fsp.open(absolutePath)
21740 return fd.createReadStream({
21741 encoding: "utf8"
21742 })
21743 }
21744 async list(folder) {
21745 if (isUrl(folder)) {
21746 return [] // URLs don't support directory listing

Callers 2

_singlePassFuseMethod · 0.45
createReadStreamMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected