mirror of
https://github.com/go-gitea/gitea
synced 2024-11-21 18:55:35 +01:00
Remove stale comment in models/repo.go (#366)
This commit is contained in:
parent
39d0db52de
commit
401a8db0ed
1 changed files with 0 additions and 1 deletions
|
@ -276,7 +276,6 @@ func (repo *Repository) HTMLURL() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
// APIFormat converts a Repository to api.Repository
|
// APIFormat converts a Repository to api.Repository
|
||||||
// Arguments that are allowed to be nil: permission
|
|
||||||
func (repo *Repository) APIFormat(mode AccessMode) *api.Repository {
|
func (repo *Repository) APIFormat(mode AccessMode) *api.Repository {
|
||||||
cloneLink := repo.CloneLink()
|
cloneLink := repo.CloneLink()
|
||||||
permission := &api.Permission{
|
permission := &api.Permission{
|
||||||
|
|
Loading…
Reference in a new issue