MCPcopy Index your code
hub / github.com/devopsctl/gitlabctl / editProject

Function editProject

cmd/edit_project.go:72–82  ·  view source on GitHub ↗
(project string, opts *gitlab.EditProjectOptions)

Source from the content-addressed store, hash-verified

70}
71
72func editProject(project string, opts *gitlab.EditProjectOptions) (*gitlab.Project, error) {
73 git, err := newGitlabClient()
74 if err != nil {
75 return nil, err
76 }
77 editedProject, _, err := git.Projects.EditProject(project, opts)
78 if err != nil {
79 return nil, err
80 }
81 return editedProject, nil
82}

Callers 1

runEditProjectFunction · 0.85

Calls 1

newGitlabClientFunction · 0.85

Tested by

no test coverage detected