From de992070461ad75a3a23a603d25415fc58b5d53e Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Tue, 22 Dec 2020 23:01:28 +0100 Subject: [PATCH] repository: tweak comment for packs method --- internal/repository/master_index.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/repository/master_index.go b/internal/repository/master_index.go index f4de3fdd2..f24589e3d 100644 --- a/internal/repository/master_index.go +++ b/internal/repository/master_index.go @@ -100,8 +100,8 @@ func (mi *MasterIndex) Has(bh restic.BlobHandle) bool { } // Packs returns all packs that are covered by the index. -// If packBlacklist ist given, those packs are only contained in the -// resulting IDSet if they are contained in a non-final index. +// If packBlacklist is given, those packs are only contained in the +// resulting IDSet if they are contained in a non-final (newly written) index. func (mi *MasterIndex) Packs(packBlacklist restic.IDSet) restic.IDSet { mi.idxMutex.RLock() defer mi.idxMutex.RUnlock()