Export RemoteRepo package list

This commit is contained in:
Sylvain Baubeau
2020-10-05 18:43:15 +02:00
committed by Lorenzo Bolla
parent 174943cd0f
commit ab2f5420c6

View File

@@ -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