← Watch feed
guix, refactor: Remove unused `out_name()` function
What changed, and why it matters
This commit simply removes an unused helper function from a Guix build-attestation script. There is no change to how Bitcoin Core runs, no security fix, and no vulnerability introduced.
Recommended action
No action required; this is a non-security refactoring change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch deletes the out_name() shell function from contrib/guix/guix-attest. The function is not referenced anywhere in the script, so its removal is a pure code-cleanup refactor with no functional or security impact.
Changed components
contrib/guix/guix-attestInspect captured patch +0 / −8
diff --git a/contrib/guix/guix-attest b/contrib/guix/guix-attest
index b0ef28dc..3d70731c 100755
--- a/contrib/guix/guix-attest
+++ b/contrib/guix/guix-attest
@@ -139,14 +139,6 @@ fi
## Attest ##
##############
-# Usage: out_name $outdir
-#
-# HOST: The output directory being attested
-#
-out_name() {
- basename "$(dirname "$1")"
-}
-
shasum_already_exists() {
cat <<EOF
--
Risk score
Our methodology →Why this scored 15/100
Human-validated context
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
No validated notes yet.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.