(_ context.Context, requestID string)
| 69 | } |
| 70 | |
| 71 | func (m *memoryStore) GetRequest(_ context.Context, requestID string) (RequestRow, error) { |
| 72 | m.mu.RLock() |
| 73 | defer m.mu.RUnlock() |
| 74 | r, ok := m.requests[requestID] |
| 75 | if !ok { |
| 76 | return RequestRow{}, ErrNotFound |
| 77 | } |
| 78 | return cloneRequestRow(r), nil |
| 79 | } |
| 80 | |
| 81 | func (m *memoryStore) ListSteps(_ context.Context, requestID string) ([]StepRow, error) { |
| 82 | m.mu.RLock() |
nothing calls this directly
no test coverage detected