rpm

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RpmFeaturesDetector

type RpmFeaturesDetector struct{}

RpmFeaturesDetector implements FeaturesDetector and detects rpm packages It requires the "rpm" binary to be in the PATH

func (*RpmFeaturesDetector) Detect

func (detector *RpmFeaturesDetector) Detect(data map[string][]byte) ([]database.FeatureVersion, error)

Detect detects packages using var/lib/rpm/Packages from the input data

func (*RpmFeaturesDetector) GetRequiredFiles

func (detector *RpmFeaturesDetector) GetRequiredFiles() []string

GetRequiredFiles returns the list of files required for Detect, without leading /

Jump to

Keyboard shortcuts

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