(rootNameVersion string)
| 55 | } |
| 56 | |
| 57 | func newInstallReport(rootNameVersion string) *installReport { |
| 58 | return &installReport{ |
| 59 | rootPort: rootNameVersion, |
| 60 | entries: make(map[string]installReportEntry), |
| 61 | visitedPorts: make(map[string]bool), |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | func (i *installReport) add(port *Port, installedFrom string) { |
| 66 | if i == nil || port == nil || port.Name == "" || port.Version == "" { |