mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
8a7a754236ca83b2999526ca321bc5ee540ef6ab
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>
zot
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
Description
Languages
Go
93.6%
Shell
5.8%
Makefile
0.4%