MCPcopy Create free account
hub / github.com/gogs/gogs / updateLabel

Function updateLabel

internal/database/issue_label.go:215–218  ·  view source on GitHub ↗
(e Engine, l *Label)

Source from the content-addressed store, hash-verified

213}
214
215func updateLabel(e Engine, l *Label) error {
216 _, err := e.ID(l.ID).AllCols().Update(l)
217 return err
218}
219
220// UpdateLabel updates label information.
221func UpdateLabel(l *Label) error {

Callers 4

UpdateLabelFunction · 0.85
newIssueLabelFunction · 0.85
deleteIssueLabelFunction · 0.85
changeStatusMethod · 0.85

Calls 2

UpdateMethod · 0.65
IDMethod · 0.65

Tested by

no test coverage detected