aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-11 19:28:32 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-11 19:28:32 +0200
commit9cbd5b4ee113c660377ffe9c01ca374d6addfef4 (patch)
tree8720b18cba789d27f28b3ce024f7caa90e93ccc7 /cache/repo_cache.go
parent30e38aab0849d28eaea11c5e1f9f9423a0999e0d (diff)
downloadgit-bug-9cbd5b4ee113c660377ffe9c01ca374d6addfef4.tar.gz
termui: allow to change the bug query
Diffstat (limited to 'cache/repo_cache.go')
-rw-r--r--cache/repo_cache.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/cache/repo_cache.go b/cache/repo_cache.go
index a46e3a75..cd743e92 100644
--- a/cache/repo_cache.go
+++ b/cache/repo_cache.go
@@ -19,9 +19,12 @@ import (
)
type RepoCache struct {
- repo repository.Repo
+ // the underlying repo
+ repo repository.Repo
+ // excerpt of bugs data for all bugs
excerpts map[string]*BugExcerpt
- bugs map[string]*BugCache
+ // bug loaded in memory
+ bugs map[string]*BugCache
}
func NewRepoCache(r repository.Repo) (*RepoCache, error) {