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

Function deleteTag

cmd/delete_tag.go:50–61  ·  view source on GitHub ↗
(project, tag string)

Source from the content-addressed store, hash-verified

48}
49
50func deleteTag(project, tag string) error {
51 git, err := newGitlabClient()
52 if err != nil {
53 return err
54 }
55 _, err = git.Tags.DeleteTag(project, tag)
56 if err != nil {
57 return err
58 }
59 fmt.Printf("Tag (%s) from project (%s) has been deleted\n", tag, project)
60 return nil
61}

Callers 3

delete_tag.goFile · 0.85
TestNewTagFunction · 0.85
TestNewReleaseFunction · 0.85

Calls 1

newGitlabClientFunction · 0.85

Tested by 2

TestNewTagFunction · 0.68
TestNewReleaseFunction · 0.68