Ramkumar Chinchani 8a7a754236 refactor(storage): reduce cyclomatic complexity of upgradeToGlobalBlobstore
Extract the blob-to-blobstore promotion logic into a separate helper method
(promoteBlobCandidate) to reduce the main function's cyclomatic complexity from
34 to 28, bringing it within the gocyclo threshold of 30.

Also move blobCandidate and repoBlobRef type definitions to package level to
support both the main function and helper.

Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com>
2026-06-16 21:28:14 -07:00
2024-01-17 17:22:33 +02:00
2026-05-11 09:29:05 +03:00
2026-06-11 17:22:15 -07:00
2026-06-11 17:22:15 -07:00
2025-05-25 11:57:49 +03:00
2026-06-11 17:22:15 -07:00
2024-03-14 09:43:42 -07:00
2019-06-21 15:29:19 -07:00

zot

build test nightly jobs codecov conformance CodeQL CII Best Practices OpenSSF Scorecard Go Reference FOSSA Status

zot: a production-ready vendor-neutral OCI image registry - images stored in OCI image format, distribution specification on-the-wire, that's it!

Documentation for zot is located at: https://zotregistry.dev

Code of conduct details are here.

License

FOSSA Status

Languages
Go 93.6%
Shell 5.8%
Makefile 0.4%