mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-14 05:52:43 +00:00
unified name: IsViewBranch, IsViewCommit and IsViewTag
This commit is contained in:
parent
989f30eb41
commit
a576224d0e
9 changed files with 18 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue