Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Jan 13, 2025
1 parent eff3568 commit 616fe58
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions services/context/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 616fe58

Please sign in to comment.