mirror of
https://github.com/octoleo/restic.git
synced 2024-12-25 12:09:59 +00:00
Remove comment
This commit is contained in:
parent
681d7851aa
commit
a0bad1695c
@ -489,21 +489,6 @@ func (c *Checker) Structure(errChan chan<- error, done <-chan struct{}) {
|
|||||||
func (c *Checker) checkTree(id backend.ID, tree *restic.Tree) (errs []error) {
|
func (c *Checker) checkTree(id backend.ID, tree *restic.Tree) (errs []error) {
|
||||||
debug.Log("Checker.checkTree", "checking tree %v", id.Str())
|
debug.Log("Checker.checkTree", "checking tree %v", id.Str())
|
||||||
|
|
||||||
// if _, ok := c.blobs[id2map(id)]; !ok {
|
|
||||||
// errs = append(errs, Error{TreeID: id, Err: errors.New("not found in index")})
|
|
||||||
// }
|
|
||||||
|
|
||||||
// blobs, subtrees, treeErrors := c.tree(id)
|
|
||||||
// if treeErrors != nil {
|
|
||||||
// debug.Log("Checker.trees", "error checking tree %v: %v", id.Str(), treeErrors)
|
|
||||||
// errs = append(errs, treeErrors...)
|
|
||||||
// continue
|
|
||||||
// }
|
|
||||||
|
|
||||||
// treeIDs = append(treeIDs, subtrees...)
|
|
||||||
|
|
||||||
// treesChecked[id2map(id)] = struct{}{}
|
|
||||||
|
|
||||||
var blobs []backend.ID
|
var blobs []backend.ID
|
||||||
|
|
||||||
for i, node := range tree.Nodes {
|
for i, node := range tree.Nodes {
|
||||||
|
Loading…
Reference in New Issue
Block a user