mirror of
https://github.com/restic/restic.git
synced 2026-02-03 04:20:45 -05:00
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. |
||
|---|---|---|
| .. | ||
| rewriter.go | ||
| rewriter_test.go | ||
| testing.go | ||
| walker.go | ||
| walker_test.go | ||