mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Listing of packages in snapshot.
This commit is contained in:
Vendored
+5
@@ -56,6 +56,11 @@ func (s *Snapshot) NumPackages() int {
|
||||
return s.packageRefs.Len()
|
||||
}
|
||||
|
||||
// RefList returns list of package refs in snapshot
|
||||
func (s *Snapshot) RefList() *PackageRefList {
|
||||
return s.packageRefs
|
||||
}
|
||||
|
||||
// Key is a unique id in DB
|
||||
func (s *Snapshot) Key() []byte {
|
||||
return []byte("S" + s.UUID)
|
||||
|
||||
Reference in New Issue
Block a user