()
| 15 | } |
| 16 | |
| 17 | func 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 |
| 24 | func (c *MultiRepoCache) RegisterRepository(repo repository.ClockedRepo, name string) (*RepoCache, chan BuildEvent) { |
no outgoing calls