package
1.9.0-dev
Repository: https://github.com/vlorc/gitea.git
Documentation: pkg.go.dev

# Functions

ActivePullRequest returns an active pull request if it exists.
CanUserPush returns if user can push.
CheckUnitUser check whether user could visit the unit of this repository.
GetDeployKey check if repo has deploy key.
GetProtectedBranchBy get protected branch information.
GetPublicKeyByID get public ssh key by his ID.
GetRepository return the repository by its ID and a bool about if it's allowed to have PR.
GetRepositoryByOwnerAndName returns the repository by given ownername and reponame.
GetUserByKeyID get user attached to key.
HasDeployKey check if repo has deploy key.
InitWiki initwiki via repo id.
PushUpdate update publick key updates.
UpdateDeployKeyUpdated update deploy key updates.
UpdatePublicKeyUpdated update public key updates.

# Structs

Response internal request response.