- Berlin, Deutschland
- https://sneak.berlin
- Joined on
2020-02-05
Directories are not listed in the manifest, only regular files.
path
attribute is relative to root directory where index.mf
file lives.
Sounds good, and makes sense. I put the length at the end to detect truncation, but the length field does that just by existing, so it can go at the beginning and it will also work fine. :)
the file format description will be something like "the file begins with a magic number, a uint64 in network order, that is specified as constant X. the following bytes are zstd compressed data. the final data in the file is a uint64 in network order that specifies the size of the zstd data, the magic number, and the trailing size field. the zstd compressed data shall be...." etc
No, this is just a markdown document that you will write from scratch that describes the file format, along with a description of steps used by implementations when creating or validating a manifest file.
The spec for the golang implementation should also be committed into this repo, and can be removed once the go code is done.
The file format spec should be committed into this repo.