1
0
forked from rosa/hakurei

internal/pkg: archive unpack artifact

This unpacks an internal/pkg archive stream used in the upcoming mirror service.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-06-04 19:43:50 +09:00
parent 8fb6fdaa80
commit 8e8410ce38
4 changed files with 160 additions and 0 deletions
+2
View File
@@ -510,6 +510,8 @@ const (
KindFile
// KindDecompress is the kind of [Artifact] returned by [NewDecompress].
KindDecompress
// KindArchive is the kind of [Artifact] returned by [NewArchive].
KindArchive
// _kindEnd is the total number of kinds and does not denote a kind.
_kindEnd