mirror of
https://github.com/octoleo/restic.git
synced 2024-12-23 03:18:55 +00:00
Update comment now that question was answered
This commit is contained in:
parent
acb05e7855
commit
930602a444
@ -197,7 +197,7 @@ func statsWalkTree(ctx context.Context, repo restic.Repository, treeID restic.ID
|
||||
stats.TotalFileCount++
|
||||
}
|
||||
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)
|
||||
if !found {
|
||||
return fmt.Errorf("blob %s not found for tree %s", blobID, treeID)
|
||||
|
Loading…
Reference in New Issue
Block a user