From 8e8410ce3850a34d8b79431eb89ce4a7b9f89a60 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 4 Jun 2026 19:43:50 +0900 Subject: internal/pkg: archive unpack artifact This unpacks an internal/pkg archive stream used in the upcoming mirror service. Signed-off-by: Ophestra --- internal/pkg/ir_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/pkg/ir_test.go') diff --git a/internal/pkg/ir_test.go b/internal/pkg/ir_test.go index 0cb4a6ef..ad6baa76 100644 --- a/internal/pkg/ir_test.go +++ b/internal/pkg/ir_test.go @@ -98,6 +98,8 @@ func TestIRRoundtrip(t *testing.T) { {"file", pkg.NewFile("stub", []byte("stub"))}, {"decompress", pkg.NewDecompress(pkg.NewFile("", []byte{0}), pkg.Bzip2)}, + + {"archive", pkg.NewArchive(pkg.NewFile("", []byte{0}))}, } testCasesCache := make([]cacheTestCase, len(testCases)) for i, tc := range testCases { -- cgit v1.3.1