Documentation
¶
Overview ¶
Package explode is a utility library for exploding various package types, so that abireport can traverse their root directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Impls is the valid set of packages understood by abireport Impls = map[string]Func{ "*.rpm": RPM, "*.eopkg": Eopkg, "*.deb": Dpkg, } )
View Source
var ( // OutputDir is where the package implementation dumped // the packages to and extracted inside. This is automatically removed // at shutdown. OutputDir string )
Functions ¶
func Dpkg ¶
Dpkg will explode all .deb's specified and then return the install/ path inside that exploded tree.
func GetTypeForFilename ¶
GetTypeForFilename will return the appropriate Impls key for the given input file, if it can be found.
func ShouldSkipName ¶
ShouldSkipName is a utility to help with skipping any unwanted packages
Types ¶
Click to show internal directories.
Click to hide internal directories.