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.
- canonical_
item - The on-disk form of an exception item.
- canonical_
list - The on-disk form of an exception-list container.
- comparable
- The comparison form.
- fill_
defaults - Add fields the server fills on create without overwriting explicit values.
- sort_
items - Sort exception items for stable file output and diff reports. Items with unreadable identities sort last.
- sort_
lists - Sort exception-list containers for stable file output and diff reports.
Lists with unreadable
list_idvalues sort last. - sort_
rules - Sort rules for stable file output and diff reports. Rules with unreadable
rule_idvalues sort last. - strip_
exception_ ids - Remove the volatile pointer from every exception reference.
- strip_
volatile - Remove the server-owned fields that change on every write.