diff options
Diffstat (limited to 'modules/git/cache.go')
-rw-r--r-- | modules/git/cache.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/git/cache.go b/modules/git/cache.go index dbbbafae4c..39daf5c49d 100644 --- a/modules/git/cache.go +++ b/modules/git/cache.go @@ -4,8 +4,10 @@ package git +import "gopkg.in/src-d/go-git.v4/plumbing/object" + // LastCommitCache cache type LastCommitCache interface { - Get(repoPath, ref, entryPath string) (*Commit, error) - Put(repoPath, ref, entryPath string, commit *Commit) error + Get(ref, entryPath string) (*object.Commit, error) + Put(ref, entryPath, commitID string) error } |