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

Method Key

deb/publish.go:611–613  ·  view source on GitHub ↗

Key returns unique key identifying PublishedRepo

()

Source from the content-addressed store, hash-verified

609
610// Key returns unique key identifying PublishedRepo
611func (p *PublishedRepo) Key() []byte {
612 return []byte("U" + p.StoragePrefix() + ">>" + p.Distribution)
613}
614
615// PrefixPoolLockKey returns the task-queue resource key that serialises all
616// publish operations sharing the same pool directory under storagePrefix.

Callers 2

UpdateMethod · 0.45
RemoveMethod · 0.45

Calls 1

StoragePrefixMethod · 0.95

Tested by

no test coverage detected