From 729be19af39fb73e827bdb2798ac23942f9cf9e5 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 4 Jun 2026 14:13:20 +0900 Subject: 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 --- internal/pkg/archive_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/pkg/archive_test.go') diff --git a/internal/pkg/archive_test.go b/internal/pkg/archive_test.go index a51cfee5..e04f3a66 100644 --- a/internal/pkg/archive_test.go +++ b/internal/pkg/archive_test.go @@ -141,10 +141,10 @@ func TestArchive(t *testing.T) { t.Parallel() var got pkg.Checksum - if err := pkg.HashFS(&got, tc.fsys, "."); err != nil { - t.Fatalf("HashFS: error = %v", err) + if err := pkg.SumFS(&got, tc.fsys, "."); err != nil { + t.Fatalf("SumFS: error = %v", err) } else if got != tc.sum { - t.Fatalf("HashFS: %v", &pkg.ChecksumMismatchError{ + t.Fatalf("SumFS: %v", &pkg.ChecksumMismatchError{ Got: got, Want: tc.sum, }) -- cgit v1.3.1