restic/internal/walker
Michael Eischer 278e457e1f data: use data.TreeWriter to serialize&write data.Tree
Always serialize trees via TreeJSONBuilder. Add a wrapper called
TreeWriter which combines serialization and saving the tree blob in the
repository. In the future, TreeJSONBuilder will have to upload tree
chunks while the tree is still serialized. This will a wrapper like
TreeWriter, so add it right now already.

The archiver.treeSaver still directly uses the TreeJSONBuilder as it
requires special handling.
2026-01-31 19:18:36 +01:00
..
rewriter.go data: use data.TreeWriter to serialize&write data.Tree 2026-01-31 19:18:36 +01:00
rewriter_test.go repository: enforce that SaveBlob is called within WithBlobUploader 2025-10-12 18:26:26 +02:00
testing.go Add walker for trees in the repo 2018-06-09 23:35:20 +02:00
walker.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00
walker_test.go data: split node and snapshot code from restic package 2025-10-03 19:10:39 +02:00