Update comment now that question was answered
This commit is contained in:
parent
acb05e7855
commit
930602a444
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ func statsWalkTree(ctx context.Context, repo restic.Repository, treeID restic.ID
|
||||||
stats.TotalFileCount++
|
stats.TotalFileCount++
|
||||||
}
|
}
|
||||||
if _, ok := stats.fileBlobs[nodePath][blobID]; !ok {
|
if _, ok := stats.fileBlobs[nodePath][blobID]; !ok {
|
||||||
// TODO: Is the blob type always 'data' in this case?
|
// is always a data blob since we're accessing it via a file's Content array
|
||||||
blobSize, found := repo.LookupBlobSize(blobID, restic.DataBlob)
|
blobSize, found := repo.LookupBlobSize(blobID, restic.DataBlob)
|
||||||
if !found {
|
if !found {
|
||||||
return fmt.Errorf("blob %s not found for tree %s", blobID, treeID)
|
return fmt.Errorf("blob %s not found for tree %s", blobID, treeID)
|
||||||
|
|
Loading…
Reference in a new issue