build: replace the deprecated golint linter with revive
This fixes up a small number of new lint items also
This commit is contained in:
parent
167406bc68
commit
a98e3ea6f1
7 changed files with 7 additions and 7 deletions
|
@ -566,7 +566,7 @@ func (vfs *VFS) Statfs() (total, used, free int64) {
|
|||
vfs.usage, err = doAbout(ctx)
|
||||
}
|
||||
if vfs.Opt.UsedIsSize {
|
||||
var usedBySizeAlgorithm int64 = 0
|
||||
var usedBySizeAlgorithm int64
|
||||
// Algorithm from `rclone size`
|
||||
err = walk.ListR(ctx, vfs.f, "", true, -1, walk.ListObjects, func(entries fs.DirEntries) error {
|
||||
entries.ForObject(func(o fs.Object) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue