mirror of
https://github.com/rclone/rclone.git
synced 2025-08-13 23:38:51 +02:00
build: replace the deprecated golint linter with revive
This fixes up a small number of new lint items also
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user