From e5abf51296fa1405c4a6314eafc1b97d247c5b60 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 25 Jul 2026 14:03:03 +0900 Subject: internal/pkg: decompress xz streams This uses a port of the public domain xz implementation. Signed-off-by: Ophestra --- .../xz/testdata/other/good-1-x86-lzma2-offset-2048.xz | Bin 0 -> 724 bytes internal/xz/testdata/other/good-2-lzma2-corrupt.xz | Bin 0 -> 92 bytes internal/xz/testdata/other/random-1mb.xz | Bin 0 -> 1000108 bytes internal/xz/testdata/other/words.xz | Bin 0 -> 42664 bytes internal/xz/testdata/other/zeros-100mb.xz | Bin 0 -> 14676 bytes 5 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 internal/xz/testdata/other/good-1-x86-lzma2-offset-2048.xz create mode 100644 internal/xz/testdata/other/good-2-lzma2-corrupt.xz create mode 100644 internal/xz/testdata/other/random-1mb.xz create mode 100644 internal/xz/testdata/other/words.xz create mode 100644 internal/xz/testdata/other/zeros-100mb.xz (limited to 'internal/xz/testdata/other') diff --git a/internal/xz/testdata/other/good-1-x86-lzma2-offset-2048.xz b/internal/xz/testdata/other/good-1-x86-lzma2-offset-2048.xz new file mode 100644 index 00000000..14aa5b0a Binary files /dev/null and b/internal/xz/testdata/other/good-1-x86-lzma2-offset-2048.xz differ diff --git a/internal/xz/testdata/other/good-2-lzma2-corrupt.xz b/internal/xz/testdata/other/good-2-lzma2-corrupt.xz new file mode 100644 index 00000000..a3b902fa Binary files /dev/null and b/internal/xz/testdata/other/good-2-lzma2-corrupt.xz differ diff --git a/internal/xz/testdata/other/random-1mb.xz b/internal/xz/testdata/other/random-1mb.xz new file mode 100644 index 00000000..29f59f13 Binary files /dev/null and b/internal/xz/testdata/other/random-1mb.xz differ diff --git a/internal/xz/testdata/other/words.xz b/internal/xz/testdata/other/words.xz new file mode 100644 index 00000000..9c682cf4 Binary files /dev/null and b/internal/xz/testdata/other/words.xz differ diff --git a/internal/xz/testdata/other/zeros-100mb.xz b/internal/xz/testdata/other/zeros-100mb.xz new file mode 100644 index 00000000..4d7fe0d0 Binary files /dev/null and b/internal/xz/testdata/other/zeros-100mb.xz differ -- cgit v1.3.1