From 930602a444defeb2ca8697620bc99cbffdc413cd Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 25 Apr 2018 09:39:16 -0600 Subject: [PATCH] Update comment now that question was answered --- cmd/restic/cmd_stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/restic/cmd_stats.go b/cmd/restic/cmd_stats.go index 2241be90c..75b1757d6 100644 --- a/cmd/restic/cmd_stats.go +++ b/cmd/restic/cmd_stats.go @@ -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)