Documentation ¶
Index ¶
Constants ¶
View Source
const ( PackageFileGzip = "Packages.gz" PackageFileXZ = "Packages.xz" )
Variables ¶
View Source
var ErrNotFound = errors.New("package file not found")
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
func (*Index) GetPackageWithDependencies ¶
type Package ¶
type PackageVersion ¶
func ParseVersion ¶
func ParseVersion(s string) (*PackageVersion, error)
ParseVersion parses a debian version as used in the "Depends" section.
https://www.debian.org/doc/debian-policy/ch-relationships.html
func (*PackageVersion) Matches ¶
func (pv *PackageVersion) Matches(s1 string) bool
Click to show internal directories.
Click to hide internal directories.