()
| 688 | } |
| 689 | |
| 690 | func (p *Package) DocsURL() string { |
| 691 | if p.IsRunX() { |
| 692 | path, _, _ := strings.Cut(p.RunXPath(), "@") |
| 693 | return fmt.Sprintf("https://www.github.com/%s", path) |
| 694 | } |
| 695 | if p.IsDevboxPackage { |
| 696 | return fmt.Sprintf("https://www.nixhub.io/packages/%s", p.CanonicalName()) |
| 697 | } |
| 698 | return "" |
| 699 | } |
| 700 | |
| 701 | // GetOutputNames returns the names of the nix package outputs. Outputs can be |
| 702 | // specified in devbox.json package fields or as part of the flake reference. |
nothing calls this directly
no test coverage detected