mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
Implement git refs API for listing references (branches, tags and other) (#5354)
* Inital routes to git refs api * Git refs API implementation * Update swagger * Fix copyright * Make swagger happy add basic test * Fix test * Fix test again :)
This commit is contained in:
committed by
techknowlogick
parent
294904321c
commit
08bf443016
10
vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/shallow.go
generated
vendored
Normal file
10
vendor/gopkg.in/src-d/go-git.v4/plumbing/storer/shallow.go
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
package storer
|
||||
|
||||
import "gopkg.in/src-d/go-git.v4/plumbing"
|
||||
|
||||
// ShallowStorer is a storage of references to shallow commits by hash,
|
||||
// meaning that these commits have missing parents because of a shallow fetch.
|
||||
type ShallowStorer interface {
|
||||
SetShallow([]plumbing.Hash) error
|
||||
Shallow() ([]plumbing.Hash, error)
|
||||
}
|
Reference in New Issue
Block a user