crash.software
Projects
Pull Requests
Issues
Builds
syft
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
syft
Files
🤬
Sign In
cc0a376a
ROOT
/
syft
/
pkg
/
cataloger
/
binary
/
cataloger_test.go
Search
History
841 lines
|
ISO-8859-1
|
23 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Test_Cataloger_DefaultClassifiers_PositiveCases
(t *testing.T)
Test_Cataloger_DefaultClassifiers_PositiveCases_Image
(t *testing.T)
TestClassifierCataloger_DefaultClassifiers_NegativeCases
(t *testing.T)
locations
(locations ...string)
:
source.LocationSet
metadata
(classifier string, paths ...string)
:
pkg.BinaryMetadata
match
(classifier string, paths ...string)
:
pkg.ClassifierMatch
assertPackagesAreEqual
(t *testing.T, expected pkg.Package, p pkg.Package)
panicyResolver
searchCalled
:
bool
_
:
source.FileResolver
Test_Cataloger_ResilientToErrors
(t *testing.T)
*panicyResolver
FilesByExtension
(_ ...string)
:
([]source.Location, error)
FilesByBasename
(_ ...string)
:
([]source.Location, error)
FilesByBasenameGlob
(_ ...string)
:
([]source.Location, error)
FileContentsByLocation
(_ source.Location)
:
(io.ReadCloser, error)
HasPath
(_ string)
:
bool
FilesByPath
(_ ...string)
:
([]source.Location, error)
FilesByGlob
(_ ...string)
:
([]source.Location, error)
FilesByMIMEType
(_ ...string)
:
([]source.Location, error)
RelativeFileByPath
(_ source.Location, _ string)
:
*source.Location
AllLocations
()
:
<-chan source.Location
FileMetadataByLocation
(_ source.Location)
:
(source.FileMetadata, error)
All occurrences
Please wait...
Page is in error, reload to recover