type Entry
import bend-kit-tar@0.3.0.0/tar.bend as Tarimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
5# An archive is a list of entries in order. Names are raw bytes (UTF-8 by convention), kept byte for byte;
6# a directory keeps whatever trailing '/' its name has. Nothing here touches the filesystem.
7# import ./tar/tar.bend as Tar
8type Entry is Type:
9 File{name: Bytes.Bytes, data: Bytes.Bytes}
10 Dir{name: Bytes.Bytes}