github.com/anchore/syft@v1.4.2-0.20240516191711-1bec1fc5d397/syft/pkg/file_owner.go (about)

     1  package pkg
     2  
     3  // FileOwner is the interface that wraps OwnedFiles method.
     4  //
     5  // OwnedFiles returns a list of files that a piece of
     6  // package Metadata indicates are owned by the package.
     7  type FileOwner interface {
     8  	OwnedFiles() []string
     9  }