MCPcopy
hub / github.com/Eugeny/tabby / read

Method read

tabby-core/src/api/platform.ts:296–304  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

294 }
295
296 async read (): Promise<Uint8Array> {
297 const result: any = await this.reader.read()
298 if (result.done || !result.value) {
299 return new Uint8Array(0)
300 }
301 const chunk = new Uint8Array(result.value)
302 this.increaseProgress(chunk.length)
303 return chunk
304 }
305
306 // eslint-disable-next-line @typescript-eslint/no-empty-function
307 bringToFront (): void { }

Callers 1

readAllFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected