MCPcopy Create free account
hub / github.com/Effect-TS/effect / read

Method read

packages/platform/deno/src/DenoFileSystem.ts:269–271  ·  view source on GitHub ↗
(buffer: Uint8Array, options?: FileSystem.File.ReadOptions)

Source from the content-addressed store, hash-verified

267 }
268
269 read(buffer: Uint8Array, options?: FileSystem.File.ReadOptions) {
270 return this.readChunk("read", buffer, options?.position)
271 }
272
273 readAlloc(size: number, options?: FileSystem.File.ReadOptions) {
274 return Effect.suspend(() => {

Callers

nothing calls this directly

Calls 1

readChunkMethod · 0.95

Tested by

no test coverage detected