(author identity.Interface, unixTime int64, title string, metadata map[string]string)
| 142 | } |
| 143 | |
| 144 | func (c *BugCache) SetTitleRaw(author identity.Interface, unixTime int64, title string, metadata map[string]string) (*bug.SetTitleOperation, error) { |
| 145 | c.mu.Lock() |
| 146 | op, err := bug.SetTitle(c.entity, author, unixTime, title, metadata) |
| 147 | c.mu.Unlock() |
| 148 | if err != nil { |
| 149 | return nil, err |
| 150 | } |
| 151 | return op, c.notifyUpdated() |
| 152 | } |
| 153 | |
| 154 | // EditCreateComment is a convenience function to edit the body of a bug (the first comment) |
| 155 | func (c *BugCache) EditCreateComment(body string) (entity.CombinedId, *bug.EditCommentOperation, error) { |
no test coverage detected