()
| 666 | } |
| 667 | |
| 668 | func (p *Package) String() string { |
| 669 | if p.installable.AttrPath != "" { |
| 670 | return p.installable.AttrPath |
| 671 | } |
| 672 | return p.Raw |
| 673 | } |
| 674 | |
| 675 | func (p *Package) LockfileKey() string { |
| 676 | // Use p.Raw instead of p.installable.Ref.String() because that will have |
no outgoing calls