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

Function NewMultiRepoCache

cache/multi_repo_cache.go:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func NewMultiRepoCache() *MultiRepoCache {
18 return &MultiRepoCache{
19 repos: make(map[string]*RepoCache),
20 }
21}
22
23// RegisterRepository register a named repository. Use this for multi-repo setup
24func (c *MultiRepoCache) RegisterRepository(repo repository.ClockedRepo, name string) (*RepoCache, chan BuildEvent) {

Callers 3

runWebUIFunction · 0.92
TestGitFileHandlersFunction · 0.92
TestQueriesFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestGitFileHandlersFunction · 0.74
TestQueriesFunction · 0.74