summaryrefslogtreecommitdiffstats
path: root/modules/git/cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/cache.go')
-rw-r--r--modules/git/cache.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/git/cache.go b/modules/git/cache.go
deleted file mode 100644
index a1f0f8a57b..0000000000
--- a/modules/git/cache.go
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
-
-package git
-
-import "github.com/go-git/go-git/v5/plumbing/object"
-
-// LastCommitCache cache
-type LastCommitCache interface {
- Get(ref, entryPath string) (*object.Commit, error)
- Put(ref, entryPath, commitID string) error
-}