New create a new bug The new bug is written in the repository (commit)
(title string, message string)
| 219 | // New create a new bug |
| 220 | // The new bug is written in the repository (commit) |
| 221 | func (c *RepoCacheBug) New(title string, message string) (*BugCache, *bug.CreateOperation, error) { |
| 222 | return c.NewWithFiles(title, message, nil) |
| 223 | } |
| 224 | |
| 225 | // NewWithFiles create a new bug with attached files for the message |
| 226 | // The new bug is written in the repository (commit) |