Add --partial_dir_finish option to run final two steps on files produ… #646
Annotations
10 errors and 11 warnings
basedirs/tsv.go#L43
Function 'ParseConfig' is too long (34 > 30) (funlen)
|
basedirs/db.go#L271
cognitive complexity 10 of func `(*BaseDirs).gidsToMountpoints` is high (> 9) (gocognit)
|
basedirs/db.go#L325
`if existing != nil` has complex nested blocks (complexity: 2) (nestif)
|
basedirs/history.go#L141
Magic number: 2, in <case> detected (mnd)
|
basedirs/basedirs_test.go#L952
defer statements should only be cuddled with expressions on same variable (wsl)
|
basedirs/basedirs_test.go#L964
if statements should only be cuddled with assignments (wsl)
|
basedirs/tree_test.go#L53
append only allowed to cuddle with appended value (wsl)
|
stat/stat.go#L48
Duplicate words (is) found (dupword)
|
stat/stat.go#L86
naked return in func `Lstat` with 31 lines of code (nakedret)
|
stat/stat.go#L99
naked return in func `Lstat` with 31 lines of code (nakedret)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
neaten/neaten.go#L342
unused-parameter: parameter 'de' seems to be unused, consider removing or renaming it as _ (revive)
|
cmd/version.go#L43
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
cmd/cleanup.go#L60
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
cmd/cleanup.go#L101
unused-parameter: parameter 'd' seems to be unused, consider removing or renaming it as _ (revive)
|
cmd/stat.go#L170
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
cmd/basedir.go#L131
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
cmd/multi.go#L144
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
cmd/cron.go#L65
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
cmd/mergedbs.go#L52
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
cmd/combine.go#L66
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
This job failed
Loading