MCPcopy Create free account
hub / github.com/aptly-dev/aptly / RefKey

Method RefKey

deb/publish.go:625–627  ·  view source on GitHub ↗

RefKey is a unique id for package reference list

(component string)

Source from the content-addressed store, hash-verified

623
624// RefKey is a unique id for package reference list
625func (p *PublishedRepo) RefKey(component string) []byte {
626 return []byte("E" + p.UUID + component)
627}
628
629// RefList returns list of package refs in local repo
630func (p *PublishedRepo) RefList(component string) *PackageRefList {

Callers 3

UpdateMethod · 0.45
LoadCompleteMethod · 0.45
RemoveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected