Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Find ¶
Find walks the given filesystem and returns a map of build groups, where each group is keyed by the origin package name, and contains the origin package and its subpackages. Find expects the filesystem to be laid out just like Melange outputs built APKs, starting with a "packages" directory containing subdirectories for each architecture, and APK files within those subdirectories.
Types ¶
type BuildGroup ¶
BuildGroup describes a set of Packages that were produced as a result of a Melange build of a package definition, which includes the origin package and 0-n subpackages as well.
type Package ¶
type Package struct { // FsysPath is the path to the package file on the filesystem. FsysPath string // FileInfo is the file info of the package file. FileInfo fs.FileInfo // PkgInfo is the parsed package information (found in an APK's PKGINFO file). PkgInfo *goapk.Package }
Package describes a built (e.g. by Melange) APK package file that resides on a filesystem.