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

Method push

packages/effect/src/encoding/Zip.ts:1090–1095  ·  view source on GitHub ↗
(bytes: Uint8Array)

Source from the content-addressed store, hash-verified

1088 }
1089
1090 private push(bytes: Uint8Array): void {
1091 if (bytes.length === 0) return
1092 this.chunks.push(bytes)
1093 this.offset += bytes.length
1094 this.buffered += bytes.length
1095 }
1096
1097 private record(header: Header, flags: number): EntryRecord {
1098 const name = textEncoder.encode(header.path)

Callers 5

entryMethod · 0.95
beginMethod · 0.95
dataMethod · 0.95
endMethod · 0.95
finishMethod · 0.95

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected