Fix for negative timestamps in summaries. (#97) #678
Annotations
10 errors and 11 warnings
lint:
main_test.go#L1830
1830-1848 lines are duplicate of `main_test.go:1850-1868` (dupl)
|
lint:
main_test.go#L1850
1850-1868 lines are duplicate of `main_test.go:1830-1848` (dupl)
|
lint:
main_test.go#L948
948-968 lines are duplicate of `main_test.go:1927-1950` (dupl)
|
lint:
main_test.go#L1927
1927-1950 lines are duplicate of `main_test.go:948-968` (dupl)
|
lint:
main_test.go#L1910
1910-1925 lines are duplicate of `main_test.go:1927-1946` (dupl)
|
lint:
basedirs/tsv.go#L43
Function 'ParseConfig' is too long (34 > 30) (funlen)
|
lint:
basedirs/db.go#L271
cognitive complexity 10 of func `(*BaseDirs).gidsToMountpoints` is high (> 9) (gocognit)
|
lint:
summary/dirgut.go#L354
`if info.IsDir()` has complex nested blocks (complexity: 2) (nestif)
|
lint:
basedirs/db.go#L325
`if existing != nil` has complex nested blocks (complexity: 2) (nestif)
|
lint:
summary/dirgut.go#L341
Duplicate words (a) found (dupword)
|
lint
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/
|
lint:
cmd/basedir.go#L131
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/combine.go#L66
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/mergedbs.go#L52
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/cron.go#L65
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/cron.go#L85
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/version.go#L43
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/tidy.go#L90
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/chtsv.go#L46
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/walk.go#L89
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/stat.go#L170
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|