Documentation
¶
Overview ¶
auto-generated, DO NOT EDIT!
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersions ¶
CompareVersions compare two version strings that follow the debian version policy and Returns:
-1 if a is smaller than b 0 if a equals b +1 if a is bigger than b
func Extract ¶
func Extract(pkgReader io.ReadSeeker, options *ExtractOptions) (err error)
func SetDebug ¶
func SetDebug(debug bool)
Enable the delivery of debug messages to the logger. Only meaningful if a logger is also set.
func SetLogger ¶
func SetLogger(logger log_Logger)
Specify the *log.Logger object where log messages should be sent to.
func ValidateArch ¶
Types ¶
type ExtractOptions ¶
type ExtractOptions struct {
Package string
TargetDir string
Extract map[string][]ExtractInfo
// Create can optionally be set to control the creation of extracted entries.
// extractInfos is set to the matching entries in Extract, and is nil in cases where
// the created entry is implicit and unlisted (for example, parent directories).
Create func(extractInfos []ExtractInfo, options *fsutil.CreateOptions) error
}
Click to show internal directories.
Click to hide internal directories.