parseTarHeader
Summary
Parses a tar header block.
With the default relative path policy, throws TarParseError for invalid
entry names or link targets, including paths that traverse above the archive root.
Signature
function parseTarHeader(block: Uint8Array, options: ParseTarHeaderOptions): TarHeader
Parameters
block
The tar header block
options
Options that control how the header is parsed
Returns
The parsed tar header