load will try to read from the disk all the cache files
()
| 160 | |
| 161 | // load will try to read from the disk all the cache files |
| 162 | func (c *RepoCache) load() error { |
| 163 | var errWait multierr.ErrWaitGroup |
| 164 | for _, mgmt := range c.subcaches { |
| 165 | errWait.Go(mgmt.Load) |
| 166 | } |
| 167 | return errWait.Wait() |
| 168 | } |
| 169 | |
| 170 | func (c *RepoCache) lock(events chan BuildEvent) error { |
| 171 | err := repoIsAvailable(c.repo, events) |
no test coverage detected