github.com/anchore/syft@v1.38.2/syft/pkg/cataloger/binary/deprecated.go (about)

     1  package binary
     2  
     3  import "github.com/anchore/syft/syft/pkg/cataloger/internal/binutils"
     4  
     5  // Note: all generic utilities for catalogers have been moved to the internal/binutils package.
     6  
     7  // Deprecated: This package is deprecated and will be removed in syft v2
     8  type Classifier = binutils.Classifier
     9  
    10  // Deprecated: This package is deprecated and will be removed in syft v2
    11  type EvidenceMatcher = binutils.EvidenceMatcher
    12  
    13  // Deprecated: This package is deprecated and will be removed in syft v2
    14  func FileContentsVersionMatcher(
    15  	pattern string,
    16  ) EvidenceMatcher {
    17  	return binutils.FileContentsVersionMatcher(catalogerName, pattern)
    18  }