mirror of
https://github.com/anchore/syft.git
synced 2026-11-02 23:46:35 +01:00
rename pkg.Catalog to pkg.Collection (#1764)
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package pkg
|
||||
|
||||
// Deprecated: use Collection instead
|
||||
type Catalog = Collection
|
||||
|
||||
// Deprecated: use NewCollection() instead
|
||||
func NewCatalog(pkgs ...Package) *Catalog {
|
||||
return NewCollection(pkgs...)
|
||||
}
|
||||
Reference in New Issue
Block a user