Expand description
Tell a signed sidecar from anything else without reading it.
The signed SidecarV1 carries its schema version at CBOR
integer key 0. A probe that looks at nothing but that key classifies a file, and it
builds no model of the shape — which is what keeps it from being a second reader beside
the signed one. Every other byte string, including the retired unsigned pre-signed-path
record (text keys only, no key 0), is SidecarShape::Unknown: no reader of that
record’s contents remains anywhere.
Enums§
- Sidecar
Shape - Which on-disk sidecar shape a
{uuid}.cborfile has.
Functions§
- probe
- Classify sidecar bytes by their discriminating key alone.