aboutsummaryrefslogtreecommitdiffstats
path: root/cache/bug_cache.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-18 12:49:16 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-18 12:49:16 +0200
commit0d5998eb67f9bbf146e15a127a2d6a89aa14eab9 (patch)
tree1f9a61040bc5f84ef2b78199a9adf922b7f0441f /cache/bug_cache.go
parent5eaf9e83e7cd56b8bb4915193d13adfb60575b21 (diff)
downloadgit-bug-0d5998eb67f9bbf146e15a127a2d6a89aa14eab9.tar.gz
commands: add a package to handle implicit bug selection
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 b0dbb6cc..4fdc7d62 100644
--- a/cache/bug_cache.go
+++ b/cache/bug_cache.go
@@ -22,6 +22,10 @@ func (c *BugCache) Snapshot() *bug.Snapshot {
return c.bug.Snapshot()
}
+func (c *BugCache) Id() string {
+ return c.bug.Id()
+}
+
func (c *BugCache) HumanId() string {
return c.bug.HumanId()
}