needsSymlinkJoin is used to filter packages with multiple outputs. Multiple outputs -> SymlinkJoin. Single or no output -> directly use in buildInputs
(pkg *devpkg.Package)
| 220 | // Multiple outputs -> SymlinkJoin. |
| 221 | // Single or no output -> directly use in buildInputs |
| 222 | func needsSymlinkJoin(pkg *devpkg.Package) (bool, error) { |
| 223 | outputNames, err := pkg.GetOutputNames() |
| 224 | if err != nil { |
| 225 | return false, err |
| 226 | } |
| 227 | return len(outputNames) > 1, nil |
| 228 | } |
no test coverage detected