internal/pkg: rename archive checksum helpers
All checks were successful
Test / Create distribution (push) Successful in 1m7s
Test / Sandbox (push) Successful in 2m50s
Test / ShareFS (push) Successful in 3m50s
Test / Hakurei (push) Successful in 3m54s
Test / Sandbox (race detector) (push) Successful in 5m41s
Test / Hakurei (race detector) (push) Successful in 6m39s
Test / Flake checks (push) Successful in 1m41s
All checks were successful
Test / Create distribution (push) Successful in 1m7s
Test / Sandbox (push) Successful in 2m50s
Test / ShareFS (push) Successful in 3m50s
Test / Hakurei (push) Successful in 3m54s
Test / Sandbox (race detector) (push) Successful in 5m41s
Test / Hakurei (race detector) (push) Successful in 6m39s
Test / Flake checks (push) Successful in 1m41s
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user