github.com/kastenhq/syft@v0.0.0-20230821225854-0710af25cdbe/syft/pkg/relationships.go (about)

     1  package pkg
     2  
     3  import "github.com/kastenhq/syft/syft/artifact"
     4  
     5  func NewRelationships(catalog *Collection) []artifact.Relationship {
     6  	rels := RelationshipsByFileOwnership(catalog)
     7  	rels = append(rels, RelationshipsEvidentBy(catalog)...)
     8  	return rels
     9  }