internal

package
v0.10.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ApplicationName = "xeol"

note: do not change this

View Source
const DBUpdateURL = "https://data.xeol.io/xeol/databases/listing.json"

Variables

This section is empty.

Functions

func HasAnyOfPrefixes

func HasAnyOfPrefixes(input string, prefixes ...string) bool

HasAnyOfPrefixes returns an indication if the given string has any of the given prefixes.

func HasAnyOfSuffixes

func HasAnyOfSuffixes(input string, suffixes ...string) bool

HasAnyOfSuffixes returns an indication if the given string has any of the given suffixes.

func IsStdinPipeOrRedirect added in v0.9.0

func IsStdinPipeOrRedirect() (bool, error)

IsStdinPipeOrRedirect returns true if stdin is provided via pipe or redirect

func MatchCaptureGroups

func MatchCaptureGroups(regEx *regexp.Regexp, str string) map[string]string

MatchCaptureGroups takes a regular expression and string and returns all of the named capture group results in a map.

Types

type StringSet

type StringSet map[string]struct{}

func NewStringSet

func NewStringSet() StringSet

func NewStringSetFromSlice

func NewStringSetFromSlice(start []string) StringSet

func (StringSet) Add

func (s StringSet) Add(i string)

func (StringSet) Contains

func (s StringSet) Contains(i string) bool

func (StringSet) Remove

func (s StringSet) Remove(i string)

func (StringSet) ToSlice

func (s StringSet) ToSlice() []string

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.
sigverifier

Jump to

Keyboard shortcuts

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