Export RemoteRepo package list

This commit is contained in:
Sylvain Baubeau authored and Lorenzo Bolla committed 2021-11-02 15:08:19 +01:00
1 parent 174943cd0f
commit ab2f5420c6
1 file changed
+5
+5
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