mirror of
https://github.com/restic/restic.git
synced 2025-03-16 00:00:05 +01:00
![]() Make access to the extended attributes slightly easier by handeling them as a map (each attribute name can only exist once anyway). Handle backwards compatibility by unmarshaling of the old json data and converting to the new one when needed. Mark node.Content as optional in json data, to suppress "content":null fragments when not needed. It seems for a single check, the code is already Content == nil resistant. NOTICE: These json changes affect the content of a Treeblob and therefore its ID. So while a backup against a parent before this change will not store the content of dirs/files again, each directory will create a new treeblob. |
||
---|---|---|
.. | ||
cmds/restic | ||
restic |