mirror of
https://github.com/kopia/kopia.git
synced 2026-04-30 10:53:05 -04:00
chore(ci): upgraded linter to 1.53.3 (#3079)
* chore(ci): upgraded linter to 1.53.3 This flagged a bunch of unused parameters, so the PR is larger than usual, but 99% mechanical. * separate lint CI task * run Lint in separate CI
This commit is contained in:
@@ -66,11 +66,11 @@ type cliProgress struct {
|
||||
progressFlags
|
||||
}
|
||||
|
||||
func (p *cliProgress) HashingFile(fname string) {
|
||||
func (p *cliProgress) HashingFile(_ string) {
|
||||
p.inProgressHashing.Add(1)
|
||||
}
|
||||
|
||||
func (p *cliProgress) FinishedHashingFile(fname string, totalSize int64) {
|
||||
func (p *cliProgress) FinishedHashingFile(_ string, _ int64) {
|
||||
p.hashedFiles.Add(1)
|
||||
p.inProgressHashing.Add(-1)
|
||||
p.maybeOutput()
|
||||
@@ -98,7 +98,7 @@ func (p *cliProgress) Error(path string, err error, isIgnored bool) {
|
||||
}
|
||||
}
|
||||
|
||||
func (p *cliProgress) CachedFile(fname string, numBytes int64) {
|
||||
func (p *cliProgress) CachedFile(_ string, numBytes int64) {
|
||||
p.cachedBytes.Add(numBytes)
|
||||
p.cachedFiles.Add(1)
|
||||
p.maybeOutput()
|
||||
|
||||
Reference in New Issue
Block a user