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

Function invalidHeader

packages/effect/src/encoding/Tar.ts:540–540  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

538}
539
540const invalidHeader = (message: string) => new TarError({ kind: "InvalidHeader", message })
541
542const truncated = (at: number) =>
543 new TarError({ kind: "Truncated", message: `unexpected end of tar archive at byte ${at}` })

Callers 12

parsePaxFunction · 0.70
paxIntegerFunction · 0.70
paxMillisFunction · 0.70
readOctalFunction · 0.70
readNumberFunction · 0.70
readUnsignedFunction · 0.70
parseHeaderFunction · 0.70
checkNumberFunction · 0.70
checkNoNulFunction · 0.70
encodeHeaderFunction · 0.70
advanceMethod · 0.70
toHeaderMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected