| 128 | } |
| 129 | |
| 130 | func snapshot(data interface{}) (rafthub.Snapshot, error) { |
| 131 | s, err := storageDriver().NewSnapshot() |
| 132 | if err != nil { |
| 133 | return nil, err |
| 134 | } |
| 135 | return &snap{s: s}, nil |
nothing calls this directly
no outgoing calls
no test coverage detected