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

Function NewRepoCacheNoEvents

cache/repo_cache.go:128–138  ·  view source on GitHub ↗
(r repository.ClockedRepo)

Source from the content-addressed store, hash-verified

126}
127
128func NewRepoCacheNoEvents(r repository.ClockedRepo) (*RepoCache, error) {
129 cache, events := NewRepoCache(r)
130 for event := range events {
131 if event.Err != nil {
132 for range events {
133 }
134 return nil, event.Err
135 }
136 }
137 return cache, nil
138}
139
140// Bugs gives access to the Bug entities
141func (c *RepoCache) Bugs() *RepoCacheBug {

Callers 9

TestGithubImporterFunction · 0.92
TestGithubPushPullFunction · 0.92
TestGitlabImportFunction · 0.92
TestGitlabPushPullFunction · 0.92
newTestEnvFunction · 0.92
TestSelectFunction · 0.92
TestCacheFunction · 0.85

Calls 1

NewRepoCacheFunction · 0.85

Tested by 8

TestGithubImporterFunction · 0.74
TestGithubPushPullFunction · 0.74
TestGitlabImportFunction · 0.74
TestGitlabPushPullFunction · 0.74
TestSelectFunction · 0.74
TestCacheFunction · 0.68