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

Function UpdateLabel

internal/database/issue_label.go:221–223  ·  view source on GitHub ↗

UpdateLabel updates label information.

(l *Label)

Source from the content-addressed store, hash-verified

219
220// UpdateLabel updates label information.
221func UpdateLabel(l *Label) error {
222 return updateLabel(x, l)
223}
224
225// DeleteLabel delete a label of given repository.
226func DeleteLabel(repoID, labelID int64) error {

Callers 2

UpdateLabelFunction · 0.92
EditLabelFunction · 0.92

Calls 1

updateLabelFunction · 0.85

Tested by

no test coverage detected