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

# Packages

# Functions

CheckRepoStats checks the repository stats.
CreatePendingRepositoryTransfer transfer a repo from one owner to a new one.
DeleteDeployKey delete deploy keys.
DoctorUserStarNum recalculate Stars number for all user.
GetPendingRepositoryTransfer fetches the most recent and ongoing transfer process for the repository.
Init initialize model.
IsErrCommitIDDoesNotMatch checks if an error is a ErrCommitIDDoesNotMatch.
IsErrDeleteLastAdminUser checks if an error is a ErrDeleteLastAdminUser.
IsErrDisallowedToMerge checks if an error is an ErrDisallowedToMerge.
IsErrFilenameInvalid checks if an error is an ErrFilenameInvalid.
IsErrFilePathInvalid checks if an error is an ErrFilePathInvalid.
IsErrFilePathProtected checks if an error is an ErrFilePathProtected.
IsErrInvalidCloneAddr checks if an error is a ErrInvalidCloneAddr.
IsErrInvalidMergeStyle checks if an error is a ErrInvalidMergeStyle.
IsErrInvalidTagName checks if an error is a ErrInvalidTagName.
IsErrMergeConflicts checks if an error is a ErrMergeConflicts.
IsErrMergeDivergingFastForwardOnly checks if an error is a ErrMergeDivergingFastForwardOnly.
IsErrMergeUnrelatedHistories checks if an error is a ErrMergeUnrelatedHistories.
IsErrNoPendingTransfer is an error type when a repository has no pending transfers.
IsErrProtectedTagName checks if an error is a ErrProtectedTagName.
IsErrPullRequestHasMerged checks if an error is a ErrPullRequestHasMerged.
IsErrRebaseConflicts checks if an error is a ErrRebaseConflicts.
IsErrRepoFileAlreadyExists checks if an error is a ErrRepoFileAlreadyExists.
IsErrRepoFileDoesNotExist checks if an error is a ErrRepoDoesNotExist.
IsErrRepoTransferInProgress checks if an error is a ErrRepoTransferInProgress.
IsErrSHADoesNotMatch checks if an error is a ErrSHADoesNotMatch.
IsErrSHANotFound checks if an error is a ErrSHANotFound.
IsErrSHAOrCommitIDNotProvided checks if an error is a ErrSHAOrCommitIDNotProvided.
IsErrTagAlreadyExists checks if an error is an ErrTagAlreadyExists.
IsErrUpdateTaskNotExist checks if an error is a ErrUpdateTaskNotExist.
IsErrUserCannotCommit checks if an error is an ErrUserCannotCommit.
IsErrUserHasOrgs checks if an error is a ErrUserHasOrgs.
IsErrUserOwnPackages checks if an error is an ErrUserOwnPackages.
IsErrUserOwnRepos checks if an error is a ErrUserOwnRepos.
TestRepositoryReadyForTransfer make sure repo is ready to transfer.

# Structs

ErrCommitIDDoesNotMatch represents a "CommitIDDoesNotMatch" kind of error.
ErrDeleteLastAdminUser represents a "DeleteLastAdminUser" kind of error.
ErrDisallowedToMerge represents an error that a branch is protected and the current user is not allowed to modify it.
ErrFilenameInvalid represents a "FilenameInvalid" kind of error.
ErrFilePathInvalid represents a "FilePathInvalid" kind of error.
ErrFilePathProtected represents a "FilePathProtected" kind of error.
ErrInvalidCloneAddr represents a "InvalidCloneAddr" kind of error.
ErrInvalidMergeStyle represents an error if merging with disabled merge strategy.
ErrInvalidTagName represents a "InvalidTagName" kind of error.
ErrMergeConflicts represents an error if merging fails with a conflict.
ErrMergeDivergingFastForwardOnly represents an error if a fast-forward-only merge fails because the branches diverge.
ErrMergeUnrelatedHistories represents an error if merging fails due to unrelated histories.
ErrNoPendingRepoTransfer is an error type for repositories without a pending transfer request.
ErrProtectedTagName represents a "ProtectedTagName" kind of error.
ErrPullRequestHasMerged represents a "PullRequestHasMerged"-error.
ErrRebaseConflicts represents an error if rebase fails with a conflict.
ErrRepoFileAlreadyExists represents a "RepoFileAlreadyExist" kind of error.
ErrRepoFileDoesNotExist represents a "RepoFileDoesNotExist" kind of error.
ErrRepoTransferInProgress represents the state of a repository that has an ongoing transfer.
ErrSHADoesNotMatch represents a "SHADoesNotMatch" kind of error.
ErrSHANotFound represents a "SHADoesNotMatch" kind of error.
ErrSHAOrCommitIDNotProvided represents a "SHAOrCommitIDNotProvided" kind of error.
ErrTagAlreadyExists represents an error that tag with such name already exists.
ErrUpdateTaskNotExist represents a "UpdateTaskNotExist" kind of error.
ErrUserCannotCommit represents "UserCannotCommit" kind of error.
ErrUserHasOrgs represents a "UserHasOrgs" kind of error.
ErrUserOwnPackages notifies that the user (still) owns the packages.
ErrUserOwnRepos represents a "UserOwnRepos" kind of error.
RepoTransfer is used to manage repository transfers.