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

Method load

cache/repo_cache.go:162–168  ·  view source on GitHub ↗

load will try to read from the disk all the cache files

()

Source from the content-addressed store, hash-verified

160
161// load will try to read from the disk all the cache files
162func (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
170func (c *RepoCache) lock(events chan BuildEvent) error {
171 err := repoIsAvailable(c.repo, events)

Callers 1

NewNamedRepoCacheFunction · 0.95

Calls 2

GoMethod · 0.95
WaitMethod · 0.95

Tested by

no test coverage detected