diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-06-04 18:12:03 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-06-04 18:33:04 +0900 |
| commit | 76c1fb84c87ba12a22b64f7c471a92603365837f (patch) | |
| tree | de04c0a8a45a636ebe78fd06b3097e5b8493e9cc /internal/pkg/ir_test.go | |
| parent | 729be19af39fb73e827bdb2798ac23942f9cf9e5 (diff) | |
internal/pkg: stream decompress artifact
The tarArtifact predates FileArtifact pipelining. This migrates decompression and buffering into a standalone artifact implementation.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/ir_test.go')
| -rw-r--r-- | internal/pkg/ir_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/pkg/ir_test.go b/internal/pkg/ir_test.go index 9a465e55..d49d2c56 100644 --- a/internal/pkg/ir_test.go +++ b/internal/pkg/ir_test.go @@ -104,6 +104,8 @@ func TestIRRoundtrip(t *testing.T) { {"file anonymous", pkg.NewFile("", []byte{0})}, {"file", pkg.NewFile("stub", []byte("stub"))}, + + {"decompress", pkg.NewDecompress(pkg.NewFile("", []byte{0}), pkg.Bzip2)}, } testCasesCache := make([]cacheTestCase, len(testCases)) for i, tc := range testCases { |
