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

Function truncated

packages/effect/src/encoding/Zip.ts:733–734  ·  view source on GitHub ↗
(at: number)

Source from the content-addressed store, hash-verified

731const invalidData = (message: string) => new ZipError({ kind: "InvalidData", message })
732
733const truncated = (at: number) =>
734 new ZipError({ kind: "Truncated", message: `unexpected end of zip archive at byte ${at}` })
735
736const unsupported = (message: string) => new ZipError({ kind: "Unsupported", message })
737

Callers 2

descriptorMethod · 0.70
needInputMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected