Skip to content

Commit

Permalink
Export RemoteRepo package list
Browse files Browse the repository at this point in the history
  • Loading branch information
lebauce committed Jul 23, 2021
1 parent f9d08e1 commit 345a328
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deb/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,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
Expand Down

0 comments on commit 345a328

Please sign in to comment.