mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 22:47:21 +00:00
unified name: IsViewBranch, IsViewCommit and IsViewTag
This commit is contained in:
@ -29,9 +29,9 @@ import (
|
||||
type RepoContext struct {
|
||||
AccessMode models.AccessMode
|
||||
IsWatching bool
|
||||
IsBranch bool
|
||||
IsTag bool
|
||||
IsCommit bool
|
||||
IsViewBranch bool
|
||||
IsViewTag bool
|
||||
IsViewCommit bool
|
||||
Repository *models.Repository
|
||||
Owner *models.User
|
||||
Commit *git.Commit
|
||||
|
Reference in New Issue
Block a user