github.com/kastenhq/syft@v0.0.0-20230821225854-0710af25cdbe/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  }