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

Method Len

deb/list.go:225–227  ·  view source on GitHub ↗

Len returns number of packages in the list

()

Source from the content-addressed store, hash-verified

223
224// Len returns number of packages in the list
225func (l *PackageList) Len() int {
226 return len(l.packages)
227}
228
229// Append adds content from one package list to another
230func (l *PackageList) Append(pl *PackageList) error {

Callers 15

FilterLatestMethod · 0.95
StringsMethod · 0.95
FullNamesMethod · 0.95
VerifyDependenciesMethod · 0.95
PrepareIndexMethod · 0.95
FilterMethod · 0.95
TestForEachAndLenMethod · 0.45
TestNewPublishedRepoMethod · 0.45
TestLoadPre0_6Method · 0.45
TestForEachAndLenMethod · 0.45
TestAddLenMethod · 0.45

Calls

no outgoing calls

Tested by 15

TestForEachAndLenMethod · 0.36
TestNewPublishedRepoMethod · 0.36
TestLoadPre0_6Method · 0.36
TestForEachAndLenMethod · 0.36
TestAddLenMethod · 0.36
TestRemoveMethod · 0.36
TestAddWhenIndexedMethod · 0.36
TestRemoveWhenIndexedMethod · 0.36
TestAppendMethod · 0.36
TestFilterMethod · 0.36
TestFilterLatestMethod · 0.36