mirror of
https://github.com/restic/restic.git
synced 2026-11-08 08:03:38 +00:00
Address issues reported by golint
This commit is contained in:
1 parent
f867e65bcd
commit
04ca69cc78
4 files changed
+9
-17
No files matched your search
@@ -44,14 +44,6 @@ func (i *TestRepo) Lookup(bh restic.BlobHandle) []restic.PackedBlob {
|
||||
return packs
|
||||
}
|
||||
|
||||
func (i *TestRepo) packName(pack *packInfo) string {
|
||||
return i.packsIDToName[pack.id]
|
||||
}
|
||||
|
||||
func (i *TestRepo) packID(name string) restic.ID {
|
||||
return i.packsNameToID[name]
|
||||
}
|
||||
|
||||
func (i *TestRepo) fileContent(file *fileInfo) string {
|
||||
return i.filesPathToContent[file.location]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user