mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
Export RemoteRepo package list
This commit is contained in:
committed by
Lorenzo Bolla
parent
174943cd0f
commit
ab2f5420c6
@@ -176,6 +176,11 @@ func (repo *RemoteRepo) RefList() *PackageRefList {
|
||||
return repo.packageRefs
|
||||
}
|
||||
|
||||
// PackageList returns package list for repo
|
||||
func (repo *RemoteRepo) PackageList() *PackageList {
|
||||
return repo.packageList
|
||||
}
|
||||
|
||||
// MarkAsUpdating puts current PID and sets status to updating
|
||||
func (repo *RemoteRepo) MarkAsUpdating() {
|
||||
repo.Status = MirrorUpdating
|
||||
|
||||
Reference in New Issue
Block a user