mirror of
https://github.com/restic/restic.git
synced 2026-08-16 02:23:17 +00:00
Remove code duplication
The top-level tree is now handled by the DirWorkers
This commit is contained in:
@@ -43,9 +43,7 @@ func walkTree(s Server, path string, id backend.ID, done chan struct{}, jobCh ch
|
||||
}
|
||||
}
|
||||
|
||||
if path != "" {
|
||||
jobCh <- WalkTreeJob{Path: filepath.Join(path), Tree: t}
|
||||
}
|
||||
jobCh <- WalkTreeJob{Path: filepath.Join(path), Tree: t}
|
||||
debug.Log("walkTree", "done for %q (%v)", path, id.Str())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user