(record proto.Message)
| 43 | } |
| 44 | |
| 45 | func (i *Index) pathFor(record proto.Message) string { |
| 46 | return i.pathForID(i.driver.GetID(record)) |
| 47 | } |
| 48 | |
| 49 | // WithDriver creates a new Index object with the specified storage.Driver |
| 50 | // used to handle the specifics of the protobuf messages being handled |