@@ -1159,7 +1159,7 @@ func (s *ProjectsService) UnarchiveProject(pid interface{}, options ...RequestOp
11591159 return p , resp , nil
11601160}
11611161
1162- // DeleteProjectOptions represents options to delete a project .
1162+ // DeleteProjectOptions represents the available DeleteProject() options .
11631163//
11641164// GitLab API docs:
11651165// https://docs.gitlab.com/ee/api/projects.html#delete-project
@@ -1188,7 +1188,7 @@ func (s *ProjectsService) DeleteProject(pid interface{}, opt *DeleteProjectOptio
11881188 return s .client .Do (req , nil )
11891189}
11901190
1191- // ShareWithGroupOptions represents options to share project with groups
1191+ // ShareWithGroupOptions represents the available SharedWithGroup() options.
11921192//
11931193// GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#share-project-with-group
11941194type ShareWithGroupOptions struct {
@@ -1491,8 +1491,8 @@ func (s *ProjectsService) TriggerTestProjectHook(pid interface{}, hook int, even
14911491 return s .client .Do (req , nil )
14921492}
14931493
1494- // SetHookCustomHeaderOptions represents a project or group hook custom header.
1495- // If the header isn't present, it will be created .
1494+ // SetHookCustomHeaderOptions represents the available SetProjectCustomHeader()
1495+ // options .
14961496//
14971497// GitLab API docs:
14981498// https://docs.gitlab.com/ee/api/projects.html#set-a-custom-header
@@ -1937,9 +1937,11 @@ func (s *ProjectsService) ChangeApprovalConfiguration(pid interface{}, opt *Chan
19371937 return pa , resp , nil
19381938}
19391939
1940- // GetProjectApprovalRulesListsOptions represents the available GetProjectApprovalRules() options.
1940+ // GetProjectApprovalRulesListsOptions represents the available
1941+ // GetProjectApprovalRules() options.
19411942//
1942- // GitLab API docs: https://docs.gitlab.com/ee/api/merge_request_approvals.html#get-project-level-rules
1943+ // GitLab API docs:
1944+ // https://docs.gitlab.com/ee/api/merge_request_approvals.html#get-project-level-rules
19431945type GetProjectApprovalRulesListsOptions ListOptions
19441946
19451947// GetProjectApprovalRules looks up the list of project level approver rules.
@@ -2192,7 +2194,8 @@ func (s *ProjectsService) StartMirroringProject(pid interface{}, options ...Requ
21922194
21932195// TransferProjectOptions represents the available TransferProject() options.
21942196//
2195- // GitLab API docs: https://docs.gitlab.com/ee/api/projects.html#transfer-a-project-to-a-new-namespace
2197+ // GitLab API docs:
2198+ // https://docs.gitlab.com/ee/api/projects.html#transfer-a-project-to-a-new-namespace
21962199type TransferProjectOptions struct {
21972200 Namespace interface {} `url:"namespace,omitempty" json:"namespace,omitempty"`
21982201}
0 commit comments