ShortKey returns key for the package that should be unique in one list
(prefix string)
| 224 | |
| 225 | // ShortKey returns key for the package that should be unique in one list |
| 226 | func (p *Package) ShortKey(prefix string) []byte { |
| 227 | return []byte(fmt.Sprintf("%sP%s %s %s", prefix, p.Architecture, p.Name, p.Version)) |
| 228 | } |
| 229 | |
| 230 | // String creates readable representation |
| 231 | func (p *Package) String() string { |
no outgoing calls