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 ¶
HasAnyOfPrefixes returns an indication if the given string has any of the given prefixes.
func HasAnyOfSuffixes ¶
HasAnyOfSuffixes returns an indication if the given string has any of the given suffixes.
func IsPipedInput ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.