(author identity.Interface, unixTime int64, target entity.Id, newMetadata map[string]string)
| 209 | } |
| 210 | |
| 211 | func (c *BugCache) SetMetadataRaw(author identity.Interface, unixTime int64, target entity.Id, newMetadata map[string]string) (*dag.SetMetadataOperation[*bug.Snapshot], error) { |
| 212 | c.mu.Lock() |
| 213 | op, err := bug.SetMetadata(c.entity, author, unixTime, target, newMetadata) |
| 214 | c.mu.Unlock() |
| 215 | if err != nil { |
| 216 | return nil, err |
| 217 | } |
| 218 | return op, c.notifyUpdated() |
| 219 | } |
no test coverage detected