download

package
v10.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxConcurrentFetch = 20
)

Variables

View Source
var (
	ErrInvalidRepository  = errors.New(gotext.Get("invalid repository"))
	ErrABSPackageNotFound = errors.New(gotext.Get("package not found in repos"))
	ABSPackageURL         = "https://github.com/archlinux/svntogit-packages"
	ABSCommunityURL       = "https://github.com/archlinux/svntogit-community"
)
View Source
var AURPackageURL = "https://aur.archlinux.org/cgit/aur.git"
View Source
var ErrAURPackageNotFound = errors.New(gotext.Get("package not found in AUR"))

Functions

func GetABSPkgbuild

func GetABSPkgbuild(httpClient *http.Client, dbName, pkgName string) ([]byte, error)

func GetAURPkgbuild

func GetAURPkgbuild(httpClient *http.Client, pkgName string) ([]byte, error)

func GetPkgbuilds

func GetPkgbuilds(dbExecutor db.Executor, httpClient *http.Client, targets []string, mode settings.TargetMode) (map[string][]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL