github.com/noqcks/syft@v0.0.0-20230920222752-a9e2c4e288e5/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  }