mirror of
https://github.com/restic/restic.git
synced 2024-12-22 15:57:07 +00:00
cmd_rewrite: add capability to add snapshot summary data to an existing snapshot
Add option --snapshot-summary to enable this feature
This commit is contained in:
parent
444e881c8e
commit
1d4d9388f8
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ func rewriteSnapshot(ctx context.Context, repo *repository.Repository, sn *resti
|
||||||
}
|
}
|
||||||
|
|
||||||
rewriteNode := func(node *restic.Node, path string) *restic.Node {
|
rewriteNode := func(node *restic.Node, path string) *restic.Node {
|
||||||
return node // always include everything
|
return node
|
||||||
}
|
}
|
||||||
|
|
||||||
rewriter, querySize := walker.NewSnapshotSizeRewriter(rewriteNode)
|
rewriter, querySize := walker.NewSnapshotSizeRewriter(rewriteNode)
|
||||||
|
|
Loading…
Reference in a new issue