Documentation ¶
Index ¶
- func GetNodeData(ctx context.Context, output io.Writer, repo restic.Repository, ...) error
- func IsDir(node *restic.Node) bool
- func IsFile(node *restic.Node) bool
- func IsLink(node *restic.Node) bool
- func WriteTar(ctx context.Context, repo restic.Repository, tree *restic.Tree, ...) error
- func WriteZip(ctx context.Context, repo restic.Repository, tree *restic.Tree, ...) error
- type WriteDump
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeData ¶
func GetNodeData(ctx context.Context, output io.Writer, repo restic.Repository, node *restic.Node) error
GetNodeData will write the contents of the node to the given output.
Types ¶
type WriteDump ¶ added in v0.12.0
type WriteDump func(ctx context.Context, repo restic.Repository, tree *restic.Tree, rootPath string, dst io.Writer) error
WriteDump will write the contents of the given tree to the given destination. It will loop over all nodes in the tree and dump them recursively.
Click to show internal directories.
Click to hide internal directories.