aboutsummaryrefslogtreecommitdiffstats
path: root/cache
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2023-01-11 13:28:07 +0100
committerMichael Muré <batolettre@gmail.com>2023-01-11 13:28:07 +0100
commit637071a84b6dd25df42b8fa79f31bc73d338c55a (patch)
treec843bf0f26bc9b3d8483895ee0d6d0fc7f568470 /cache
parent70b0c5b81c106e14c7ee837832ea640bd7c687f5 (diff)
downloadgit-bug-637071a84b6dd25df42b8fa79f31bc73d338c55a.tar.gz
make go1.19 fmt happy
Diffstat (limited to 'cache')
-rw-r--r--cache/repo_cache.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/cache/repo_cache.go b/cache/repo_cache.go
index edfe1baf..130500cb 100644
--- a/cache/repo_cache.go
+++ b/cache/repo_cache.go
@@ -40,14 +40,14 @@ type cacheMgmt interface {
// RepoCache is a cache for a Repository. This cache has multiple functions:
//
-// 1. After being loaded, a Bug is kept in memory in the cache, allowing for fast
-// access later.
-// 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
-// loss of data that we could have with multiple copies in the same process.
-// 4. The same way, the cache maintain in memory a single copy of the loaded identities.
+// 1. After being loaded, a Bug is kept in memory in the cache, allowing for fast
+// access later.
+// 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
+// loss of data that we could have with multiple copies in the same process.
+// 4. The same way, the cache maintain in memory a single copy of the loaded identities.
//
// The cache also protect the on-disk data by locking the git repository for its
// own usage, by writing a lock file. Of course, normal git operations are not