mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 21:05:10 +00:00
repository: tweak comment for packs method
This commit is contained in:
parent
d8d2cc6dd9
commit
de99207046
@ -100,8 +100,8 @@ func (mi *MasterIndex) Has(bh restic.BlobHandle) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Packs returns all packs that are covered by the index.
|
// Packs returns all packs that are covered by the index.
|
||||||
// If packBlacklist ist given, those packs are only contained in the
|
// If packBlacklist is given, those packs are only contained in the
|
||||||
// resulting IDSet if they are contained in a non-final index.
|
// resulting IDSet if they are contained in a non-final (newly written) index.
|
||||||
func (mi *MasterIndex) Packs(packBlacklist restic.IDSet) restic.IDSet {
|
func (mi *MasterIndex) Packs(packBlacklist restic.IDSet) restic.IDSet {
|
||||||
mi.idxMutex.RLock()
|
mi.idxMutex.RLock()
|
||||||
defer mi.idxMutex.RUnlock()
|
defer mi.idxMutex.RUnlock()
|
||||||
|
Loading…
Reference in New Issue
Block a user