aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/rosa.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-31 23:45:01 +0900
committerOphestra <cat@gensokyo.uk>2026-03-31 23:45:01 +0900
commit52b1a5a72573e2c593e58140abdb2739a61031b6 (patch)
tree75febaa83979b5ded7c47226cc972d1180759557 /internal/rosa/rosa.go
parent6b78df87148d1b9315289a422159b3f0010284eb (diff)
internal/rosa: use type P in helper interface
This is easier to type and serialises correctly. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/rosa.go')
-rw-r--r--internal/rosa/rosa.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go
index 3b05b368..5fa7f7e2 100644
--- a/internal/rosa/rosa.go
+++ b/internal/rosa/rosa.go
@@ -409,7 +409,7 @@ type Helper interface {
// name returns the value passed to the name argument of [Toolchain.New].
name(name, version string) string
// extra returns helper-specific dependencies.
- extra(flag int) []PArtifact
+ extra(flag int) P
// wantsChmod returns whether the source directory should be made writable.
wantsChmod() bool