package
0.0.1
Repository: https://github.com/solidnerd/clair.git
Documentation: pkg.go.dev

# Packages

Package errors defines error types that are used in several modules.
Package types defines useful types that are used in database models.

# Functions

CleanURL removes all parameters from an URL.
CompareStringLists returns the strings which are present in X but not in Y.
Contains looks for a string into an array of strings and returns whether the string exists.
Exec runs the given binary with arguments.
Hash returns an unique hash of the given string.
NewStopper initializes a new Stopper instance.
SelectivelyExtractArchive extracts the specified files and folders from targz data read from the given reader and store them in a map indexed by file paths.

# Variables

ErrCouldNotExtract occurs when an extraction fails.
ErrExtractedFileTooBig occurs when a file to extract is too big.

# Structs

Stopper eases the graceful termination of a group of goroutines.