github.com/quay/claircore@v1.5.28/file.go (about)

     1  package claircore
     2  
     3  // FileKind is used to determine what kind of file was found.
     4  type FileKind string
     5  
     6  const (
     7  	FileKindWhiteout = FileKind("whiteout")
     8  )
     9  
    10  // File represents interesting files that are found in the layer.
    11  type File struct {
    12  	// Path is where in the layer filesystem the file is located.
    13  	Path string
    14  	// Kind is what kind of file was found.
    15  	Kind FileKind
    16  }