aboutsummaryrefslogtreecommitdiffstats
path: root/cache
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-04-18 02:48:27 +0200
committerMichael Muré <batolettre@gmail.com>2019-04-18 02:48:27 +0200
commitcc3a21acb67a9e0c06adacc78ba0bb44009f2c41 (patch)
treea9afea550f4105269252e11d22301423e7e2337b /cache
parent5dd9d24803d065f89e2c43c6e79fec79d728d6b3 (diff)
downloadgit-bug-cc3a21acb67a9e0c06adacc78ba0bb44009f2c41.tar.gz
doc: add an architecture overview
Diffstat (limited to 'cache')
-rw-r--r--cache/doc.go2
-rw-r--r--cache/repo_cache.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cache/doc.go b/cache/doc.go
index aa6caebd..456c1fd3 100644
--- a/cache/doc.go
+++ b/cache/doc.go
@@ -1,3 +1,3 @@
-// Package cache contains a caching layer on top of the low-level bug
+// Package cache contains a caching layer on top of the low-level bug and identity
// functions to provide efficient querying, filtering, sorting.
package cache
diff --git a/cache/repo_cache.go b/cache/repo_cache.go
index afeb6140..01e5a4a9 100644
--- a/cache/repo_cache.go
+++ b/cache/repo_cache.go
@@ -41,7 +41,7 @@ func (e ErrInvalidCacheFormat) Error() string {
//
// 1. After being loaded, a Bug is kept in memory in the cache, allowing for fast
// access later.
-// 2. The cache maintain on memory and on disk a pre-digested excerpt for each bug,
+// 2. The cache maintain in memory and on disk a pre-digested excerpt for each bug,
// allowing for fast querying the whole set of bugs without having to load
// them individually.
// 3. The cache guarantee that a single instance of a Bug is loaded at once, avoiding