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

Method Len

cache/bug_excerpt.go:93–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91type BugsById []*BugExcerpt
92
93func (b BugsById) Len() int {
94 return len(b)
95}
96
97func (b BugsById) Less(i, j int) bool {
98 return b[i].id < b[j].id

Callers 12

evictIfNeededMethod · 0.45
TestCacheFunction · 0.45
TestCachePushPullFunction · 0.45
TestRemoveFunction · 0.45
TestCacheEvictionFunction · 0.45
RepoClockTestFunction · 0.45
splitFuncFunction · 0.45
renderMethod · 0.45
RenderMethod · 0.45
TestRegisterAndCleanFunction · 0.45
TestCancelFunction · 0.45

Calls

no outgoing calls

Tested by 7

TestCacheFunction · 0.36
TestCachePushPullFunction · 0.36
TestRemoveFunction · 0.36
TestCacheEvictionFunction · 0.36
TestRegisterAndCleanFunction · 0.36
TestCancelFunction · 0.36