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

Method end

packages/effect/src/encoding/Tar.ts:1391–1398  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1389 }
1390
1391 end(): void {
1392 const header = this.header!
1393 this.header = undefined
1394 if (this.written !== header.size) {
1395 throw sizeMismatch(header, this.written)
1396 }
1397 this.reserve(padding(header.size))
1398 }
1399
1400 finish(): void {
1401 this.reserve(BLOCK * 2)

Callers 1

encodeFunction · 0.95

Calls 3

reserveMethod · 0.95
sizeMismatchFunction · 0.70
paddingFunction · 0.70

Tested by

no test coverage detected