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

Method Len

deb/publish.go:1535–1539  ·  view source on GitHub ↗

Len returns number of remote repos

()

Source from the content-addressed store, hash-verified

1533
1534// Len returns number of remote repos
1535func (collection *PublishedRepoCollection) Len() int {
1536 collection.loadList()
1537
1538 return len(collection.list)
1539}
1540
1541func (collection *PublishedRepoCollection) listReferencedFilesByComponent(prefix string, components []string,
1542 collectionFactory *CollectionFactory, progress aptly.Progress) (map[string][]string, error) {

Callers 2

PublishMethod · 0.45

Calls 1

loadListMethod · 0.95

Tested by

no test coverage detected