refactor/pool: name the repeated sha256 prefix literal #97
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/literals-pool"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of the SonarQube cleanup in #73, the pool slice of the go:S1192 duplicated-literal findings. The three recipe-revision functions in orchestrator.go each spelled the sha256: digest prefix as a literal. They now use the sha256DigestPrefix constant that receipt.go already defined for the same format. Output bytes are unchanged, the golden recipe-revision tests pass untouched. 🤖 Generated with Claude Code