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

Function updateIssue

internal/database/issue.go:1385–1388  ·  view source on GitHub ↗
(e Engine, issue *Issue)

Source from the content-addressed store, hash-verified

1383}
1384
1385func updateIssue(e Engine, issue *Issue) error {
1386 _, err := e.ID(issue.ID).AllCols().Update(issue)
1387 return err
1388}
1389
1390// UpdateIssue updates all fields of given issue.
1391func UpdateIssue(issue *Issue) error {

Callers 3

changeMilestoneAssignFunction · 0.85
UpdateIssueFunction · 0.85

Calls 2

UpdateMethod · 0.65
IDMethod · 0.65

Tested by

no test coverage detected