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

Function UpdateIssueCols

internal/database/issue.go:426–428  ·  view source on GitHub ↗

UpdateIssueCols only updates values of specific columns for given issue.

(issue *Issue, cols ...string)

Source from the content-addressed store, hash-verified

424
425// UpdateIssueCols only updates values of specific columns for given issue.
426func UpdateIssueCols(issue *Issue, cols ...string) error {
427 return updateIssueCols(x, issue, cols...)
428}
429
430func (issue *Issue) changeStatus(e *xorm.Session, doer *User, repo *Repository, isClosed bool) (err error) {
431 // Nothing should be performed if current status is same as target status

Callers 2

ChangeTitleMethod · 0.85
ChangeContentMethod · 0.85

Calls 1

updateIssueColsFunction · 0.85

Tested by

no test coverage detected