Documentation ¶
Index ¶
Constants ¶
View Source
const Type string = "apk"
Variables ¶
View Source
var RelatedPath = "lib/apk/db/installed"
Functions ¶
func SplitDependencies ¶ added in v1.13.0
func SplitLicense ¶ added in v1.13.0
Types ¶
type ApkIndexRecord ¶ added in v1.13.0
type ApkIndexRecord struct { Checksum string `mapstructure:"C"` Package string `mapstructure:"P"` Version string `mapstructure:"V"` Architecture string `mapstructure:"A"` Size string `mapstructure:"S"` InstalledSize string `mapstructure:"I"` Description string `mapstructure:"T"` URL string `mapstructure:"U"` Licenses []string `mapstructure:"L"` Origin string `mapstructure:"o"` Maintainer string `mapstructure:"m"` BuildTimestamp string `mapstructure:"t"` GitCommit string `mapstructure:"c"` ProviderPriority string `mapstructure:"k"` Dependencies []string `mapstructure:"D"` Provides []string `mapstructure:"p"` Install string `mapstructure:"i"` }
func ParseApkIndexFile ¶ added in v1.13.0
func ParseApkIndexFile(apkDBContent string) ([]ApkIndexRecord, error)
Click to show internal directories.
Click to hide internal directories.