Documentation ¶
Index ¶
Constants ¶
View Source
const ApplicationName = "grype"
note: do not change this
View Source
const DBUpdateURL = "https://toolbox-data.anchore.io/grype/databases/listing.json"
Variables ¶
This section is empty.
Functions ¶
func HasAnyOfPrefixes ¶ added in v0.26.0
HasAnyOfPrefixes returns an indication if the given string has any of the given prefixes.
func HasAnyOfSuffixes ¶ added in v0.26.0
HasAnyOfSuffixes returns an indication if the given string has any of the given suffixes.
func IsPipedInput ¶ added in v0.5.0
IsPipedInput returns true if there is no input device, which means the user **may** be providing input via a pipe.
Types ¶
type StringSet ¶
type StringSet map[string]struct{}
func NewStringSet ¶
func NewStringSet() StringSet
func NewStringSetFromSlice ¶ added in v0.32.0
Click to show internal directories.
Click to hide internal directories.