mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-22 23:02:07 +02:00
Remove unused code
This commit is contained in:
parent
eff3568d31
commit
616fe58df0
@ -698,21 +698,6 @@ const (
|
||||
RepoRefBlob
|
||||
)
|
||||
|
||||
func RefTypeName(refType RepoRefType) string {
|
||||
switch refType {
|
||||
case RepoRefBranch:
|
||||
return "branch"
|
||||
case RepoRefTag:
|
||||
return "tag"
|
||||
case RepoRefCommit:
|
||||
return "commit"
|
||||
case RepoRefBlob:
|
||||
return "blob"
|
||||
default:
|
||||
return "unknown"
|
||||
}
|
||||
}
|
||||
|
||||
const headRefName = "HEAD"
|
||||
|
||||
// RepoRef handles repository reference names when the ref name is not
|
||||
|
Loading…
x
Reference in New Issue
Block a user