(ctx context.Context, name string, values ...string)
| 333 | } |
| 334 | |
| 335 | func (ir *mockIndexReader) Postings(ctx context.Context, name string, values ...string) (index.Postings, error) { |
| 336 | if entries, ok := ir.postings[name]; ok { |
| 337 | if postings, ok2 := entries[values[0]]; ok2 { |
| 338 | return postings, nil |
| 339 | } |
| 340 | } |
| 341 | return index.EmptyPostings(), nil |
| 342 | } |
| 343 | |
| 344 | func (ir *mockIndexReader) Symbols() index.StringIter { return nil } |
| 345 |
no outgoing calls
no test coverage detected