aboutsummaryrefslogtreecommitdiffstats
path: root/cache/bug_cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache/bug_cache.go')
-rw-r--r--cache/bug_cache.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cache/bug_cache.go b/cache/bug_cache.go
index 6a220f49..6026190f 100644
--- a/cache/bug_cache.go
+++ b/cache/bug_cache.go
@@ -265,3 +265,7 @@ func (c *BugCache) CommitAsNeeded() error {
}
return c.notifyUpdated()
}
+
+func (c *BugCache) NeedCommit() bool {
+ return c.bug.NeedCommit()
+}