github.com/nextlinux/gosbom@v0.81.1-0.20230627115839-1ff50c281391/gosbom/source/metadata.go (about) 1 package source 2 3 // Metadata represents any static source data that helps describe "what" was cataloged. 4 type Metadata struct { 5 ID string `hash:"ignore"` // the id generated from the parent source struct 6 Scheme Scheme // the source data scheme type (directory or image) 7 ImageMetadata ImageMetadata // all image info (image only) 8 Path string // the root path to be cataloged (directory only) 9 Base string // the base path to be cataloged (directory only) 10 Name string 11 Version string 12 }