MCPcopy Index your code
hub / github.com/git-bug/git-bug / Len

Method Len

entities/bug/sorting.go:33–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31type BugsByEditTime []*Bug
32
33func (b BugsByEditTime) Len() int {
34 return len(b)
35}
36
37func (b BugsByEditTime) Less(i, j int) bool {
38 if b[i].EditLamportTime() < b[j].EditLamportTime() {

Callers 8

TestIdentityMutateFunction · 0.45
TestMetadataFunction · 0.45
TestIdentityRemoveFunction · 0.45
TestEditFunction · 0.45
TestCreateFunction · 0.45
TestSetMetadataFunction · 0.45
TestEntityPushPullFunction · 0.45
listLocalIdsFunction · 0.45

Calls

no outgoing calls

Tested by 8

TestIdentityMutateFunction · 0.36
TestMetadataFunction · 0.36
TestIdentityRemoveFunction · 0.36
TestEditFunction · 0.36
TestCreateFunction · 0.36
TestSetMetadataFunction · 0.36
TestEntityPushPullFunction · 0.36
listLocalIdsFunction · 0.36