aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-02 22:59:40 +0900
committerOphestra <cat@gensokyo.uk>2026-07-02 23:21:31 +0900
commitdde69dde61e57fa929596294f6b4e8f798f5598e (patch)
treeda95820f75371a14da57d934cfd5c0ce1f105bef /internal/rosa
parent3ba6609444978907fe047007f5218271ba97a153 (diff)
internal/pkg: rename inputs method
Inputs is more correct than dependencies in the current terminology. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa')
-rw-r--r--internal/rosa/busybox.go4
-rw-r--r--internal/rosa/etc.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/internal/rosa/busybox.go b/internal/rosa/busybox.go
index 923f25ef..ae900a04 100644
--- a/internal/rosa/busybox.go
+++ b/internal/rosa/busybox.go
@@ -26,8 +26,8 @@ func (a busyboxBin) Params(*pkg.IContext) {}
// IsExclusive returns false: Cure performs a trivial filesystem write.
func (busyboxBin) IsExclusive() bool { return false }
-// Dependencies returns the underlying busybox [pkg.FileArtifact].
-func (a busyboxBin) Dependencies() []pkg.Artifact {
+// Inputs returns the underlying busybox [pkg.FileArtifact].
+func (a busyboxBin) Inputs() []pkg.Artifact {
return []pkg.Artifact{a.bin}
}
diff --git a/internal/rosa/etc.go b/internal/rosa/etc.go
index ce43bf07..a69b3fa9 100644
--- a/internal/rosa/etc.go
+++ b/internal/rosa/etc.go
@@ -118,8 +118,8 @@ func init() {
// IsExclusive returns false: Cure performs a few trivial filesystem writes.
func (cureEtc) IsExclusive() bool { return false }
-// Dependencies returns a slice containing the backing iana-etc release.
-func (a cureEtc) Dependencies() []pkg.Artifact {
+// Inputs returns a slice containing the backing iana-etc release.
+func (a cureEtc) Inputs() []pkg.Artifact {
if !a.minimal {
return []pkg.Artifact{ianaEtc}
}