Artifact c8e6b2974fad805ad78ef1378a5fbb6b591852fd8a8a2e2be9edaba6ea854886:
- File
internal/deck/encode.go
-
2026-10-18 16:44:03
— part of check-in
[e9ec7390c7]
on branch feat/submanifest-reader
— feat(deck): canonical encoding and sub-manifest serializers
draft-fossil-submanifests-00 §6.2 fixes minimal escaping for every filename a tree construction emits: exactly space, newline and backslash are escaped, every other byte raw. CanonicalEncode is that encoding; S cards and a sub-manifest's F cards now marshal with it, while a flat manifest keeps §4.3's, so no existing artifact changes name.
MarshalLeaf and MarshalInterior serialize the two sub-manifest shapes, and LeafCard gives one leaf F card's bytes for the §6.3 cost. A test reproduces the Appendix A.2 leaf byte for byte. (user: [email protected], size: 2587) [annotate] [blame] [check-ins using]
-
2026-10-21 21:20:46
— part of check-in
[7244496a09]
on branch main
— Merge pull request #437 from danmestas/feat/submanifest-reader
feat: sub-manifest trees and sparse cones (draft-fossil-submanifests-00, draft-fossil-sparse-cone-00) (user: [email protected], size: 2587) [annotate] [blame] [check-ins using]
-
2026-10-18 16:44:03
— part of check-in
[e9ec7390c7]
on branch feat/submanifest-reader
— feat(deck): canonical encoding and sub-manifest serializers