mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-11 12:46:14 +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
28
vendor/gopkg.in/src-d/go-git.v4/internal/revision/token.go
generated
vendored
Normal file
28
vendor/gopkg.in/src-d/go-git.v4/internal/revision/token.go
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
package revision
|
||||
|
||||
// token represents a entity extracted from string parsing
|
||||
type token int
|
||||
|
||||
const (
|
||||
eof token = iota
|
||||
|
||||
aslash
|
||||
asterisk
|
||||
at
|
||||
caret
|
||||
cbrace
|
||||
colon
|
||||
control
|
||||
dot
|
||||
emark
|
||||
minus
|
||||
number
|
||||
obrace
|
||||
obracket
|
||||
qmark
|
||||
slash
|
||||
space
|
||||
tilde
|
||||
tokenError
|
||||
word
|
||||
)
|
Reference in New Issue
Block a user