restic/internal/fuse
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
..
dir.go data: replace Tree with TreeNodeIterator 2026-01-31 20:03:38 +01:00
file.go remove old // +build comments 2025-11-30 11:53:23 +01:00
fuse_test.go data: replace Tree with TreeNodeIterator 2026-01-31 20:03:38 +01:00
inode.go remove old // +build comments 2025-11-30 11:53:23 +01:00
link.go remove old // +build comments 2025-11-30 11:53:23 +01:00
other.go remove old // +build comments 2025-11-30 11:53:23 +01:00
root.go remove old // +build comments 2025-11-30 11:53:23 +01:00
snapshots_dir.go remove old // +build comments 2025-11-30 11:53:23 +01:00
snapshots_dirstruct.go remove old // +build comments 2025-11-30 11:53:23 +01:00
snapshots_dirstruct_test.go remove old // +build comments 2025-11-30 11:53:23 +01:00
tree_cache.go remove old // +build comments 2025-11-30 11:53:23 +01:00
xattr.go remove old // +build comments 2025-11-30 11:53:23 +01:00