Store blocks directly #97
Annotations
3 errors and 9 warnings
Test:
renterd/options.go#L28
unnecessary trailing newline (whitespace)
|
Test:
renterd/store.go#L181
unnecessary leading newline (whitespace)
|
Test
issues found
|
Test:
renterd/downloader/downloader.go#L44
exported: exported type MetadataStore should have comment or be unexported (revive)
|
Test:
renterd/persist.go#L6
exported: exported type PinnedBlock should have comment or be unexported (revive)
|
Test:
renterd/persist.go#L13
exported: exported type MetadataStore should have comment or be unexported (revive)
|
Test:
persist/sqlite/encoding.go#L40
unnecessary-stmt: switch with only one case can be replaced by an if-then (revive)
|
Test:
persist/sqlite/encoding.go#L50
unnecessary-stmt: switch with only one case can be replaced by an if-then (revive)
|
Test:
persist/sqlite/blocks.go#L22
exported: exported method Store.BlockLocation should have comment or be unexported (revive)
|
Test:
persist/sqlite/blocks.go#L34
exported: exported method Store.Unpin should have comment or be unexported (revive)
|
Test:
persist/sqlite/blocks.go#L42
exported: exported method Store.Pin should have comment or be unexported (revive)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading