mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 23:14:32 +02:00
Small refactoring of modules/private (#15947)
* Use correct variable name. * doer is never nil here. * Use status code constants. * Replaced generic map with concrete struct. * Fixed windows lint. * Removed unused method. * Changed error codes. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
1 parent
5930d09096
commit
383ffcfa34
13 files changed
+185
-231
No files matched your search
@@ -54,7 +54,7 @@ type HookOptions struct {
|
||||
GitAlternativeObjectDirectories string
|
||||
GitQuarantinePath string
|
||||
GitPushOptions GitPushOptions
|
||||
ProtectedBranchID int64
|
||||
PullRequestID int64
|
||||
IsDeployKey bool
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user