(ctx context.Context, e Entry, c Constraint)
| 339 | } |
| 340 | |
| 341 | func (s *Store) Update(ctx context.Context, e Entry, c Constraint) error { |
| 342 | return s.commitWithConstraint(ctx, e.Key(), c, &Update{e}) |
| 343 | } |
| 344 | |
| 345 | func (s *Store) commitWithConstraint(ctx context.Context, key string, c Constraint, e Entry) error { |
| 346 | return s.commit(ctx, func() error { |
no test coverage detected