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

Method RemoveAll

cache/repo_cache_common.go:86–92  ·  view source on GitHub ↗

RemoveAll deletes all entities from the cache and the disk.

()

Source from the content-addressed store, hash-verified

84
85// RemoveAll deletes all entities from the cache and the disk.
86func (c *RepoCache) RemoveAll() error {
87 var errWait multierr.ErrWaitGroup
88 for _, mgmt := range c.subcaches {
89 errWait.Go(mgmt.RemoveAll)
90 }
91 return errWait.Wait()
92}
93
94// MergeAll will merge all the available remote bug and identities
95func (c *RepoCache) MergeAll(remote string) <-chan entity.MergeResult {

Callers

nothing calls this directly

Calls 2

GoMethod · 0.95
WaitMethod · 0.95

Tested by

no test coverage detected