Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2023 Changes in this version + var ErrSkipNode = errors.New("skip this node") + func Walk(ctx context.Context, repo restic.BlobLoader, root restic.ID, ...) error + type BlobLoadSaver interface + type FailedTreeRewriteFunc func(nodeID restic.ID, path string, err error) (restic.ID, error) + type NodeRewriteFunc func(node *restic.Node, path string) *restic.Node + type RewriteOpts struct + AllowUnstableSerialization bool + DisableNodeCache bool + RewriteFailedTree FailedTreeRewriteFunc + RewriteNode NodeRewriteFunc + type TreeRewriter struct + func NewTreeRewriter(opts RewriteOpts) *TreeRewriter + func (t *TreeRewriter) RewriteTree(ctx context.Context, repo BlobLoadSaver, nodepath string, nodeID restic.ID) (newNodeID restic.ID, err error) + type WalkFunc func(parentTreeID restic.ID, path string, node *restic.Node, nodeErr error) (ignore bool, err error)