mirror of
https://gitee.com/gitea/gitea
synced 2025-11-05 09:00:24 +08:00
update git vendor to fix wrong release commit id and add migrations (#6224) (#6300)
This commit is contained in:
committed by
techknowlogick
parent
c7bbfd8f5e
commit
d0bbfd835f
11
vendor/code.gitea.io/git/cache.go
generated
vendored
Normal file
11
vendor/code.gitea.io/git/cache.go
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// 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
|
||||
|
||||
// LastCommitCache cache
|
||||
type LastCommitCache interface {
|
||||
Get(repoPath, ref, entryPath string) (*Commit, error)
|
||||
Put(repoPath, ref, entryPath string, commit *Commit) error
|
||||
}
|
||||
Reference in New Issue
Block a user