def pr.path.done

bend-kit-tar@0.3.0.0 · tar.bend:194

import bend-kit-tar@0.3.0.0/tar.bend as Tar
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

194# An empty value unsets the keyword, so the header's own name applies.
195def pr.path.done(+start: U32, +end: U32, +n: U32, pax: Pax, r: Bytes.Bytes & Bytes.Bytes) -> Bytes.Cursor & Pst:
196  Pax{old, size} = pax
197  (b, value) = r
198  (Bytes.Cursor{b, end, start, end}, PGo{Pax{pr.opt(U32.is_ne(n, 0), value), size}})

Uses (9)

Used by (1)