Expand description
A container as one file: the .bwx.zip a document travels in.
A .bwx is a directory, which a host that has one hands over as it
stands. A browser has none to hand over, so a container leaves the
origin β and comes back into it β packed, and this is the one place that
packing is written. Over a Storage, so the two ends are the same
bytes whether a desktop or a tab wrote them.
The lock does not travel: it says who is writing a container here, and a copy someone else is opening is not that container. Everything else in the layout does, which is what makes an unpacked archive a container the ordinary open verifies rather than a shape that only looks like one.
ConstantsΒ§
- WITHIN π
- The directories a container files entries in, which is the whole of its
nesting:
packwalks these and nothing deeper.
FunctionsΒ§
- document_
in - The document an archive holds.
- entries π
- What a container holds, in the order it was laid out: the files beside the manifest, then what each directory of it holds.
- is_
a_ πname - named π
- The entry
namespells, orNonefor a name no container ever wrote: one that climbs out of the container, or sits under a directory the layout does not have. - pack
- Everything in
storageas a zip, entry names being the containerβs own. - refused π
- unpack
- Lay the container
archiveholds down instorage.