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

Method Add

cache/lru_id_cache.go:21–23  ·  view source on GitHub ↗
(id entity.Id)

Source from the content-addressed store, hash-verified

19}
20
21func (c *lruIdCache) Add(id entity.Id) bool {
22 return c.Cache.Add(id, nil)
23}
24func (c *lruIdCache) GetOldest() (entity.Id, bool) {
25 id, _, present := c.Cache.GetOldest()
26 return id, present

Callers 15

ResolveMethod · 0.80
addMethod · 0.80
MergeAllMethod · 0.80
buildCacheMethod · 0.80
ImportAllSinceMethod · 0.80
rateLimitingErrorFunction · 0.80
SearchTasksMethod · 0.80
RoundTripMethod · 0.80
GetIssueMethod · 0.80
GetCommentsMethod · 0.80
GetChangeLogMethod · 0.80
parseSinceFunction · 0.80

Calls

no outgoing calls

Tested by 4

rateLimitingErrorFunction · 0.64
normalizeParsedCommentsFunction · 0.64
requireCommentsEqualFunction · 0.64
TestGitFileHandlersFunction · 0.64