From ceb4d260871119e73688ee99a844b79c94fa5fe6 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 21 Apr 2026 11:35:16 +0900 Subject: internal/pkg: record cache variant on-disk This makes custom artifacts much less error-prone to use. Signed-off-by: Ophestra --- internal/rosa/rosa.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'internal/rosa/rosa.go') diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go index 5179f7a3..d2e8b619 100644 --- a/internal/rosa/rosa.go +++ b/internal/rosa/rosa.go @@ -14,6 +14,12 @@ import ( "hakurei.app/internal/pkg" ) +// Extension is the variant identification string of custom artifact +// implementations registered by package rosa. +const Extension = "rosa" + +func init() { pkg.SetExtension(Extension) } + const ( // kindEtc is the kind of [pkg.Artifact] of cureEtc. kindEtc = iota + pkg.KindCustomOffset -- cgit v1.3.1