Versions in this module Expand all Collapse all v0 v0.1.1 Aug 3, 2026 Changes in this version + func PrintDependencyGraph(packages []*meta.PackageInfo, order []meta.PackageID) + func TopologicalSort(packages []*meta.PackageInfo) ([]meta.PackageID, error) + type BuildNode struct + Dependencies []meta.PackageID + Info *meta.PackageInfo + type Client struct + Cache string + Config *config.Config + DBPath string + HTTP *http.Client + func NewClient(cfg *config.Config) *Client + func (c *Client) Install(pkgNameOrLocalFileList []string, prefix string, noConfirm bool, noResolve bool) error + func (c *Client) InstallToSdk(pkgNameOrLocalFileList []string, noConfirm bool, noResolve bool) error + func (c *Client) ListPackages(arch string) error + func (c *Client) PatchLibFiles(tgtLibdir, installLibdir, installPrefix string) error + func (c *Client) ResolveDependencies(requested []string, arch string) (map[string]meta.IndexEntry, error) + func (c *Client) Uninstall(pkgName, prefix string) error + func (c *Client) XCompile(packageNames []string, arch string, jobs int, keepGoing bool) error + type DB struct + func OpenDB(path string) (*DB, error) + func (db *DB) DeleteInstalled(name, prefix string) error + func (db *DB) GetInstalled(name, prefix string) (*Installed, error) + func (db *DB) InsertInstalled(name, version, arch, prefix, path string) error + type Installed struct + Arch string + Name string + Path string + Prefix string + Version string + When time.Time