github.com/noqcks/syft@v0.0.0-20230920222752-a9e2c4e288e5/syft/pkg/binary_metadata.go (about)

     1  package pkg
     2  
     3  import "github.com/anchore/syft/syft/file"
     4  
     5  type BinaryMetadata struct {
     6  	Matches []ClassifierMatch `mapstructure:"Matches" json:"matches"`
     7  }
     8  
     9  type ClassifierMatch struct {
    10  	Classifier string        `mapstructure:"Classifier" json:"classifier"`
    11  	Location   file.Location `mapstructure:"Location" json:"location"`
    12  }