From dde69dde61e57fa929596294f6b4e8f798f5598e Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 2 Jul 2026 22:59:40 +0900 Subject: internal/pkg: rename inputs method Inputs is more correct than dependencies in the current terminology. Signed-off-by: Ophestra --- internal/pkg/exec.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/pkg/exec.go') diff --git a/internal/pkg/exec.go b/internal/pkg/exec.go index 4dd9fc26..3623c927 100644 --- a/internal/pkg/exec.go +++ b/internal/pkg/exec.go @@ -407,9 +407,9 @@ func init() { func(r *IRReader) Artifact { return readExecArtifact(r, true) }) } -// Dependencies returns a slice of all artifacts collected from caller-supplied +// Inputs returns a slice of all artifacts collected from caller-supplied // [ExecPath]. -func (a *execArtifact) Dependencies() []Artifact { +func (a *execArtifact) Inputs() []Artifact { artifacts := make([][]Artifact, 0, len(a.paths)) for _, p := range a.paths { artifacts = append(artifacts, p.A) @@ -617,7 +617,7 @@ func (c *Cache) EnterExec( return ErrNotExec } - deps := Collect(a.Dependencies()) + deps := Collect(a.Inputs()) if _, _, err = c.Cure(&deps); err == nil { return errors.New("unreachable") } else if !IsCollected(err) { -- cgit v1.3.1