diff options
author | Michael Muré <batolettre@gmail.com> | 2019-01-19 16:01:06 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-03-01 22:40:21 +0100 |
commit | 844616baf8dc628360942d57fd69f24e298e08da (patch) | |
tree | 3fd635e08a06de60618d47ab022554a1f78364de /cache/bug_cache.go | |
parent | bdbe9e7e8256fff820efe1ce707e7154d517ecb3 (diff) | |
download | git-bug-844616baf8dc628360942d57fd69f24e298e08da.tar.gz |
identity: more progress and fixes
Diffstat (limited to 'cache/bug_cache.go')
-rw-r--r-- | cache/bug_cache.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cache/bug_cache.go b/cache/bug_cache.go index 25ff000c..53c5c7d9 100644 --- a/cache/bug_cache.go +++ b/cache/bug_cache.go @@ -11,6 +11,10 @@ import ( "github.com/MichaelMure/git-bug/util/git" ) +// BugCache is a wrapper around a Bug. It provide multiple functions: +// +// 1. Provide a higher level API to use than the raw API from Bug. +// 2. Maintain an up to date Snapshot available. type BugCache struct { repoCache *RepoCache bug *bug.WithSnapshot |