Currently, this section is non-normative. It describes the format that the Bindle server uses for filesystem representation of a Bindle.
The structure of the Bindle filesystem layout is:
BINDIR/
|
|- invoices/
| |- INVOICE_SHA
| |- invoice.toml
|- parcels/
|- PARCEL_SHA
|- parcel.dat
BINDIR
is an arbitrarily named directory for storing bindlesINVOICE_SHA
is the hex representation of a SHA-256 hash created by using the canonical invoice name (not the bindle name): NAME/VERSIONNAME
is the Bindle name in the invoice'sbindle
name
field./
is the literalslash
character. This is not OS-dependent (e.g. Windows does not use the\
character instead).VERSION
is the Bindle version in the invoice'sbindle
version
field.
PARCEL_SHA
is the SHA-256 hash of theparcel.dat
file, represented as a hex string.