Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetControlInfoFromDeb ¶
GetControlInfoFromDeb reads a deb file and returns content of control.tar.xz/control file
Types ¶
type ControlInfo ¶
type ControlInfo struct {
Package string
Source string
Version string
Architecture string
Maintainer string
InstalledSize int
Provides string
Section string
Priority string
Homepage string
}
ControlInfo contains parsed information from a deb control file
func ParseControlInfo ¶
func ParseControlInfo(controlInfo string) ControlInfo
ParseControlInfo parses information from a deb control file
Click to show internal directories.
Click to hide internal directories.