mirror of
https://github.com/kopia/kopia.git
synced 2026-03-27 10:32:08 -04:00
* remove omitempty from object id fields * remove omitempty from storage stats fields * use omitzero for other structs * remove `omitempty` from `UpgradeLockIntent` fields The `omitempty` JSON tag is ineffective for fields of type `Time` and `Duration`. Also, this struct is only used during the "upgrade" protocol, and it is OK to explicitly serialize 0 values, as it was done before.