restic/internal/checker
Michael Eischer 350f29d921 data: replace Tree with TreeNodeIterator
The TreeNodeIterator decodes nodes while iterating over a tree blob.
This should reduce peak memory usage as now only the serialized tree
blob and a single node have to alive at the same time. Using the
iterator has implications for the error handling however. Now it is
necessary that all loops that iterate through a tree check for errors
before using the node returned by the iterator.

The other change is that it is no longer possible to iterate over a tree
multiple times. Instead it must be loaded a second time. This only
affects the tree rewriting code.
2026-01-31 20:03:38 +01:00
..
testdata Moves files 2017-07-23 14:19:13 +02:00
checker.go data: replace Tree with TreeNodeIterator 2026-01-31 20:03:38 +01:00
checker_test.go data: replace Tree with TreeNodeIterator 2026-01-31 20:03:38 +01:00
testing.go restic check with snapshot filters (#5469) 2025-11-28 19:12:38 +00:00