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

     1  package indexer
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/quay/claircore"
     7  )
     8  
     9  // FileScanner reports the Files found in a given layer.
    10  type FileScanner interface {
    11  	VersionedScanner
    12  	Scan(context.Context, *claircore.Layer) ([]claircore.File, error)
    13  }