1
0
forked from rosa/hakurei

internal/pkg: rename archive checksum helpers

These names are more consistent with other helper names, so rename them while the API is still internal.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-06-04 14:13:20 +09:00
parent 4d04f86f4a
commit 729be19af3
6 changed files with 20 additions and 19 deletions
+2 -2
View File
@@ -81,8 +81,8 @@ func TestColdboot(t *testing.T) {
}
var checksum pkg.Checksum
if err = pkg.HashDir(&checksum, check.MustAbs(d)); err != nil {
t.Fatalf("HashDir: error = %v", err)
if err = pkg.SumDir(&checksum, check.MustAbs(d)); err != nil {
t.Fatalf("SumDir: error = %v", err)
}
wantChecksum := pkg.MustDecode("mEy_Lf5KotThm7OwMx7yTKZh5HCCyaB41pVAvI9uDMgVQFM91iosBLYsRm8bDsX8")