bend-kit-tar
Search uses release 0.3.0.0 · 115 definitions
Definitions (115)
- type EntryAn archive is a list of entries in order.
- def padn rounded up to a whole 512-byte block; 0 when that would pass U32.
- def wsumThe sum of w's four bytes.
- def bsum.go
- def bsumThe sum of the 512 bytes from word k: 0 only for a zero block.
- def oct.goOctal digits after leading spaces, ended by NUL, space, or the field's end.
- def octThe octal field of w bytes at j, and whether it is well formed and fits a U32.
- def cstr.go
- def cstrThe count of bytes before the first NUL in the w bytes from j.
- type Dec
- type DByte
- def dec.byte.of
- def dec.byte
- def dec.goConsume decimal digits and, when present, their first non-digit delimiter.
- def dec.start
- def dec
- def name.finHeader i's name: prefix "/" name when the magic is POSIX ustar and the prefix is not empty.
- def name.join
- def name.pre
- def pfx.len
- def name.magic
- def name.len
- def header.name
- type PaxRecords from an 'x' header that apply to the next entry.
- type Pst
- type PKey
- def pr.key.size
- def pr.key.sized
- def pr.key.path
- def pr.keyThe cursor bounds both fixed keyword probes; short or unknown bodies are skipped.
- def pr.opt
- def pr.path.doneAn empty value unsets the keyword, so the header's own name applies.
- def pr.path
- def pr.size.valid
- def pr.size.done
- def pr.checked
- def pr.skip
- def pr.value
- def pr.nl
- def pr.close
- def pr.body
- def pr.len.valid
- def pr.lenLength includes its digits, the space, the bounded body and its final newline.
- def pr.more.if
- def pr.more
- def pr.runEach record consumes at least three bytes; leave fuel for the end transition.
- def pr.start
- def pr.parsec is already bounded to exactly the PAX payload, without block padding.
- type St
- type HdrHeader metadata is Data so a checked read can advance without copying the header.
- def hdr.kind
- def hdr.size
- def hdr.valid
- def hdr.ck3The checksum's eight bytes count as spaces.
- def hdr.ck2
- def hdr.check
- def hdr.zero
- def hdr.sum
- def hdr.readCursor.read establishes that all fixed offsets below belong to a complete block.
- def zero.sum
- def zero.read
- def name.of
- def entry.named
- def entry.nameThe header begins one block before the payload cursor; no separate header index survives.
- def file.data
- def file.name
- def entry.file
- def dir.name
- def entry.dirLeaving the payload region skips a directory's data, as it does global PAX records.
- def step.pax
- def step.type'0'/NUL are files, '5' directories, 'x' local PAX and 'g' ignored global PAX.
- def frame.padded
- def frame.body
- def frame.payload
- def frame.regionFirst bound the complete padded body, then restrict PAX to the exact payload.
- def step.fit
- def step.pad
- def step.sizeA pending PAX size overrides the header field for every type, even when that field is malformed.
- def step.hdr
- def end.paxTwo zero blocks are required and no local PAX records may remain pending.
- def end.of
- def end.sum
- def step.zero
- def step.read
- def step
- def run
- def decodeThe entries in archive order.
- def put.str
- def oct.putn octal digits of v ending at j, written back to front.
- def dec.putn decimal digits of v ending at j, written back to front.
- def digits.go
- def digitsThe count of decimal digits in v.
- def hdr.fieldsmode, uid 0, gid 0, size, mtime 0, the checksum as spaces, type, and the POSIX ustar magic.
- def hdr.ckSix octal digits, NUL, space: the last space stays from the fields.
- def hdr.of
- def hdrA header block named by the first n bytes of src, handing src back.
- def blkb with zero bytes up to the next whole block.
- def zeros
- def rec.fin
- def rec.lenA PAX path record's length: nl + 7 plus its own digits, found as in POSIX pax.