internal/pkg: decompress zstd streams
Test / Create distribution (push) Successful in 57s
Test / Sandbox (push) Successful in 3m2s
Test / ShareFS (push) Successful in 4m3s
Test / Hakurei (push) Successful in 4m16s
Test / Sandbox (race detector) (push) Successful in 5m37s
Test / Hakurei (race detector) (push) Successful in 6m49s
Test / Flake checks (push) Successful in 1m11s

This uses internal/zstd until compress/zstd becomes available.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-07-23 22:18:06 +09:00
parent 5d3e47d8e7
commit 390f3b2dae
19 changed files with 12310 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
This directory holds files for testing zstd.NewReader.
Each one is a Zstandard compressed file named as hash.arbitrary-name.zst,
where hash is the first eight hexadecimal digits of the SHA256 hash
of the expected uncompressed content:
zstd -d < 1890a371.gettysburg.txt-100x.zst | sha256sum | head -c 8
1890a371
The test uses hash value to verify decompression result.