diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-21 11:35:16 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-23 00:53:21 +0900 |
| commit | ceb4d260871119e73688ee99a844b79c94fa5fe6 (patch) | |
| tree | b8b409f71f6f53c1ec30e5b15097d1f7a3def4f7 /internal/rosa/rosa.go | |
| parent | 852f3a9b3dfcb41ebd8f6587e232f2eb4708a44f (diff) | |
internal/pkg: record cache variant on-disk
This makes custom artifacts much less error-prone to use.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/rosa.go')
| -rw-r--r-- | internal/rosa/rosa.go | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
