Implement remove command #335
Annotations
10 errors and 3 warnings
golangci-lint:
server/server.go#L221
Function 'handleRemoveRequests' is too long (31 > 30) (funlen)
|
golangci-lint:
baton/baton.go#L75
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
baton/baton.go#L372
Comment should end in a period (godot)
|
golangci-lint:
baton/baton.go#L406
baton/baton.go:406: Line contains TODO/BUG/FIXME: "TODO only take remote" (godox)
|
golangci-lint:
remove/remove.go#L47
remove/remove.go:47: Line contains TODO/BUG/FIXME: "TODO" (godox)
|
golangci-lint:
remove/remove.go#L59
remove/remove.go:59: Line contains TODO/BUG/FIXME: "TODO" (godox)
|
golangci-lint:
remove/remove.go#L115
the line is 124 characters long, which exceeds the maximum of 120 characters. (lll)
|
golangci-lint:
put/request.go#L353
the line is 124 characters long, which exceeds the maximum of 120 characters. (lll)
|
golangci-lint:
baton/baton.go#L386
Consider pre-allocating `openClients` (prealloc)
|
golangci-lint:
internal/mock.go#L267
(*LocalHandler).QueryMeta - result 1 (error) is always nil (unparam)
|
golangci-lint:
internal/mock.go#L139
unused-parameter: parameter 'meta' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
remove/remove.go#L68
exported: func name will be used as remove.RemovePathFromSetInIRODS by other packages, and that stutters; consider calling this PathFromSetInIRODS (revive)
|
golangci-lint:
remove/remove.go#L128
exported: func name will be used as remove.RemoveDirFromIRODS by other packages, and that stutters; consider calling this DirFromIRODS (revive)
|
Loading