Documentation ¶
Index ¶
- func CompareVersion(a Version, b Version) int
- func LatestSnapshot() (*config.Snapshots, error)
- func Parse(r io.Reader, packages map[string]bool, poolprefixes []string) (map[string]*Package, error)
- type Package
- type PackageIndex
- func Main(snapshot string, arch config.Arch, distro config.Distro) *PackageIndex
- func PackageIndexGroup(snapshots *config.Snapshots, arch config.Arch, distro config.Distro) []*PackageIndex
- func Security(snapshot string, arch config.Arch, distro config.Distro) *PackageIndex
- func Updates(snapshot string, arch config.Arch, distro config.Distro) *PackageIndex
- type ResolvedPackage
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersion ¶
func LatestSnapshot ¶
Types ¶
type Package ¶
func NewPackage ¶
func (*Package) Equivalent ¶
Equivalent checks if these packages are the same file (even if they have different urls)
type PackageIndex ¶
type PackageIndex struct { URL string PoolRoot string Snapshot string Channel string Distro config.Distro Arch config.Arch }
func PackageIndexGroup ¶
type ResolvedPackage ¶
func NewResolvedPackage ¶
func NewResolvedPackage(src *Package, file string) *ResolvedPackage
Click to show internal directories.
Click to hide internal directories.