MCPcopy Index your code
hub / github.com/aptly-dev/aptly / PublishedRepoCollection

Method PublishedRepoCollection

deb/collections.go:83–92  ·  view source on GitHub ↗

PublishedRepoCollection returns (or creates) new PublishedRepoCollection

()

Source from the content-addressed store, hash-verified

81
82// PublishedRepoCollection returns (or creates) new PublishedRepoCollection
83func (factory *CollectionFactory) PublishedRepoCollection() *PublishedRepoCollection {
84 factory.Lock()
85 defer factory.Unlock()
86
87 if factory.publishedRepos == nil {
88 factory.publishedRepos = NewPublishedRepoCollection(factory.db)
89 }
90
91 return factory.publishedRepos
92}
93
94// ChecksumCollection returns (or creates) new ChecksumCollection
95func (factory *CollectionFactory) ChecksumCollection(db database.ReaderWriter) aptly.ChecksumStorage {

Callers 15

aptlyPublishListTxtFunction · 0.95
aptlySnapshotDropFunction · 0.95
aptlyPublishSourceUpdateFunction · 0.95
aptlyPublishSourceRemoveFunction · 0.95
aptlyPublishSourceAddFunction · 0.95
aptlyPublishShowTxtFunction · 0.95
aptlyRepoDropFunction · 0.95
aptlyPublishUpdateFunction · 0.95
aptlyServeFunction · 0.95

Calls 1

Tested by 4

SetUpTestMethod · 0.76
SetUpTestMethod · 0.64
SetUpTestMethod · 0.64