NewRepoCache create or open a cache on top of a raw repository. The caller is expected to read all returned events before the cache is considered ready to use.
(r repository.ClockedRepo)
| 76 | // The caller is expected to read all returned events before the cache is considered |
| 77 | // ready to use. |
| 78 | func NewRepoCache(r repository.ClockedRepo) (*RepoCache, chan BuildEvent) { |
| 79 | return NewNamedRepoCache(r, defaultRepoName) |
| 80 | } |
| 81 | |
| 82 | // NewNamedRepoCache create or open a named cache on top of a raw repository. |
| 83 | // The caller is expected to read all returned events before the cache is considered |
no test coverage detected