restic/internal/data
Michael Eischer ce7c144aac data: add support for unknown keys to treeIterator
While not planned, it's also not completely impossible that a tree node
might get additional top-level fields. As the tree iterator is built
with a strict expectation of the top-level fields, this would result in
a parsing error. Future-proof the code by simply skipping unknown
fields.
2026-01-31 20:03:38 +01:00
..
testdata data: fix invalid trees used in test cases 2026-01-31 19:18:36 +01:00
duration.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
duration_test.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
find.go data: replace Tree with TreeNodeIterator 2026-01-31 20:03:38 +01:00
find_test.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
node.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
node_test.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
node_windows.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
snapshot.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
snapshot_find.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
snapshot_find_test.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
snapshot_group.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
snapshot_group_test.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
snapshot_policy.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
snapshot_policy_test.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
snapshot_test.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
tag_list.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
tag_list_test.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
testing.go data: move TestTreeMap to data package to allow reuse 2026-01-31 20:03:38 +01:00
testing_test.go repository: add dedicated test helper 2025-10-03 19:34:33 +02:00
tree.go data: add support for unknown keys to treeIterator 2026-01-31 20:03:38 +01:00
tree_stream.go data: replace Tree with TreeNodeIterator 2026-01-31 20:03:38 +01:00
tree_test.go data: add support for unknown keys to treeIterator 2026-01-31 20:03:38 +01:00