Add implementation that adds to the write store.
(atom ast.Atom)
| 217 | |
| 218 | // Add implementation that adds to the write store. |
| 219 | func (s MergedStore) Add(atom ast.Atom) bool { |
| 220 | if s.Contains(atom) { |
| 221 | return false |
| 222 | } |
| 223 | return s.writeStore.Add(atom) |
| 224 | } |
| 225 | |
| 226 | // Remove implementation that removes from the write store. |
| 227 | func (s MergedStore) Remove(atom ast.Atom) bool { |