Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanUserPush ¶ added in v1.3.1
CanUserPush returns if user can push
func GetProtectedBranchBy ¶
func GetProtectedBranchBy(repoID int64, branchName string) (*models.ProtectedBranch, error)
GetProtectedBranchBy get protected branch information
func PushUpdate ¶
func PushUpdate(opt models.PushUpdateOptions) error
PushUpdate update publick key updates
func UpdatePublicKeyUpdated ¶
UpdatePublicKeyUpdated update publick key updates
Types ¶
Click to show internal directories.
Click to hide internal directories.