mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 23:06:32 +00:00
parent
5f449045d2
commit
9d1b9157d4
@ -52,7 +52,7 @@ func printTree(repo *repository.Repository, id *restic.ID, prefix string) error
|
||||
}
|
||||
|
||||
for _, entry := range tree.Nodes {
|
||||
Printf(formatNode(prefix, entry, lsOptions.ListLong) + "\n")
|
||||
Printf("%s\n", formatNode(prefix, entry, lsOptions.ListLong))
|
||||
|
||||
if entry.Type == "dir" && entry.Subtree != nil {
|
||||
if err = printTree(repo, entry.Subtree, filepath.Join(prefix, entry.Name)); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user