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

Function runUnProtectBranch

cmd/edit_branch.go:100–107  ·  view source on GitHub ↗
(branch, project, out string)

Source from the content-addressed store, hash-verified

98}
99
100func runUnProtectBranch(branch, project, out string) error {
101 branchInfo, err := unProtectBranch(branch, project)
102 if err != nil {
103 return err
104 }
105 printBranchOut(out, branchInfo)
106 return nil
107}
108
109func unProtectBranch(branch, project string) (*gitlab.Branch, error) {
110 git, err := newGitlabClient()

Callers 1

edit_branch.goFile · 0.85

Calls 2

unProtectBranchFunction · 0.85
printBranchOutFunction · 0.85

Tested by

no test coverage detected