Files
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
..