def step.pax

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

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

416def step.pax(acc: List<&1, Entry>, r: Bytes.Cursor & Maybe<&1, Pax>) -> Bytes.Cursor & St:
417  (c, m) = r
418  match m:
419    case Some{pax}:
420      (c, SHead{pax, acc})
421    case None{}:
422      (c, SFail{})

Uses (8)

Used by (1)