internal

package
v0.86.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DBUpdateURL = "https://toolbox-data.anchore.io/grype/databases/listing.json"

note: do not change this

Variables

This section is empty.

Functions

func IsStdinPipeOrRedirect added in v0.62.0

func IsStdinPipeOrRedirect() (bool, error)

IsStdinPipeOrRedirect returns true if stdin is provided via pipe or redirect

func MatchNamedCaptureGroups added in v0.80.2

func MatchNamedCaptureGroups(regEx *regexp.Regexp, content string) map[string]string

MatchNamedCaptureGroups takes a regular expression and string and returns all of the named capture group results in a map. This is only for the first match in the regex. Callers shouldn't be providing regexes with multiple capture groups with the same name.

Types

This section is empty.

Directories

Path Synopsis
Package log contains the singleton object and helper functions for facilitating logging within the syft library.
Package log contains the singleton object and helper functions for facilitating logging within the syft library.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL