diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-07-02 22:59:40 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-07-02 23:21:31 +0900 |
| commit | dde69dde61e57fa929596294f6b4e8f798f5598e (patch) | |
| tree | da95820f75371a14da57d934cfd5c0ce1f105bef /internal/pkg/ir.go | |
| parent | 3ba6609444978907fe047007f5218271ba97a153 (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/pkg/ir.go')
| -rw-r--r-- | internal/pkg/ir.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/pkg/ir.go b/internal/pkg/ir.go index 95bdddcb..35fe76e7 100644 --- a/internal/pkg/ir.go +++ b/internal/pkg/ir.go @@ -241,7 +241,7 @@ func (ic *irCache) encode( a Artifact, inputs map[Artifact]cureRes, ) (err error) { - deps := a.Dependencies() + deps := a.Inputs() idents := make([]*extIdent, len(deps)) if inputs == nil { for i, d := range deps { @@ -330,7 +330,7 @@ func (ic *irCache) encodeAll( return } - for _, d := range a.Dependencies() { + for _, d := range a.Inputs() { if err = ic.encodeAll(w, d, encoded); err != nil { return } |
