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

Function editGroup

cmd/edit_group.go:84–94  ·  view source on GitHub ↗
(gid int, opts *gitlab.UpdateGroupOptions)

Source from the content-addressed store, hash-verified

82}
83
84func editGroup(gid int, opts *gitlab.UpdateGroupOptions) (*gitlab.Group, error) {
85 git, err := newGitlabClient()
86 if err != nil {
87 return nil, err
88 }
89 g, _, err := git.Groups.UpdateGroup(gid, opts)
90 if err != nil {
91 return nil, err
92 }
93 return g, nil
94}

Callers 1

runEditGroupFunction · 0.85

Calls 1

newGitlabClientFunction · 0.85

Tested by

no test coverage detected