(idx *index.Index)
| 70 | } |
| 71 | |
| 72 | func (c *IndexStorage) SetIndex(idx *index.Index) error { |
| 73 | c.index = idx |
| 74 | return nil |
| 75 | } |
| 76 | |
| 77 | func (c *IndexStorage) Index() (*index.Index, error) { |
| 78 | if c.index == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected