aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache.go
diff options
context:
space:
mode:
authorSladyn <gunnerforlife00@gmail.com>2019-03-02 23:58:15 +0530
committerSladyn <gunnerforlife00@gmail.com>2019-03-02 23:58:15 +0530
commitf1d5ca4ff4e8f20f21e2cdc65fe854d6f9c16fee (patch)
tree80384da7f761f836edc3668d391376109f388d06 /cache/repo_cache.go
parent0c42a7c33ef02cdb72b110b65e36e0e426c19359 (diff)
downloadgit-bug-f1d5ca4ff4e8f20f21e2cdc65fe854d6f9c16fee.tar.gz
Rebased and updated.
Diffstat (limited to 'cache/repo_cache.go')
-rw-r--r--cache/repo_cache.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/cache/repo_cache.go b/cache/repo_cache.go
index fd5d0865..2b0fa360 100644
--- a/cache/repo_cache.go
+++ b/cache/repo_cache.go
@@ -386,15 +386,6 @@ func (c *RepoCache) ResolveBug(id string) (*BugCache, error) {
return cached, nil
}
-// ResolveBugExcerpt retrieve a BugExcerpt matching the exact given id
-func (c *RepoCache) ResolveBugExcerpt(id string) (*BugExcerpt, error) {
- e, ok := c.excerpts[id]
- if !ok {
- return nil, bug.ErrBugNotExist
- }
-
- return e, nil
-}
// ResolveBugExcerpt retrieve a BugExcerpt matching the exact given id
func (c *RepoCache) ResolveBugExcerpt(id string) (*BugExcerpt, error) {