Expand description
Deterministic rule forms.
canonical is what pull writes: volatile fields removed and keys sorted.
comparable is what diff compares: canonical plus server defaults.
They remain separate so pull does not write defaults the author omitted.
Functionsยง
- canonical
- The on-disk form.
- comparable
- The comparison form.
- fill_
defaults - Add fields the server fills on create without overwriting explicit values.
- sort_
rules - Sort rules for stable file output and diff reports. Rules with unreadable
rule_idvalues sort last. - strip_
volatile - Remove the server-owned fields that change on every write.