()
| 95 | } |
| 96 | |
| 97 | func (c *BugCache) Open() (*bug.SetStatusOperation, error) { |
| 98 | author, err := c.getUserIdentity() |
| 99 | if err != nil { |
| 100 | return nil, err |
| 101 | } |
| 102 | |
| 103 | return c.OpenRaw(author, time.Now().Unix(), nil) |
| 104 | } |
| 105 | |
| 106 | func (c *BugCache) OpenRaw(author identity.Interface, unixTime int64, metadata map[string]string) (*bug.SetStatusOperation, error) { |
| 107 | c.mu.Lock() |