Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindPkgs
deprecated
FindPkgs looks for packages matching the inputs inside the database. It returns a map that maps the package name input to any packages found for it. It also returns a slice that contains the names of all packages that were not found.
Deprecated: use struct method
func Pull
deprecated
Pull pulls the provided repositories. If a repo doesn't exist, it will be cloned and its packages will be written to the DB. If it does exist, it will be pulled. In this case, only changed packages will be processed if possible. If repos is set to nil, the repos in the ALR config will be used.
Deprecated: use struct method
Types ¶
type Repos ¶
type Repos struct {
// contains filtered or unexported fields
}
func GetInstance
deprecated
func (*Repos) Pull ¶
Pull pulls the provided repositories. If a repo doesn't exist, it will be cloned and its packages will be written to the DB. If it does exist, it will be pulled. In this case, only changed packages will be processed if possible. If repos is set to nil, the repos in the ALR config will be used.