Commit e6d0a7d
committed
Implement generic-profile delta (SPEC §10a)
Full producer + consumer for generic-profile keyed-row delta, byte-for-byte
interoperable with gcf-go:
- GenericSet, GenericDeltaPayload
- generic_pack_root (gcf-pack-root-v1) with collision-free cell
canonicalization decoupled from the wire encoder; fields and records sort
by UTF-8 byte order to match Go's sort.Strings
- diff_generic_sets (blessed producer path), encode_generic_full,
encode_generic_delta
- decode_generic_full, decode_generic_delta (consumer wire parsing)
- verify_generic_delta (atomic apply + new_root verification)
Delta is opt-in and bilateral; encode_generic is unchanged. Adds a unit
suite mirroring gcf-go and conformance-runner support for the four generic
delta operations (12 shared fixtures). Bumps version to 2.3.0.1 parent e3afca4 commit e6d0a7d
5 files changed
Lines changed: 594 additions & 1 deletion
File tree
- src/gcf
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
3 | 20 | | |
4 | 21 | | |
5 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
42 | 53 | | |
43 | 54 | | |
44 | 55 | | |
| |||
64 | 75 | | |
65 | 76 | | |
66 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
67 | 87 | | |
68 | 88 | | |
69 | | - | |
| 89 | + | |
0 commit comments