Stores commits on disk at a particular filepath. Commits are stored as newline-delimited JSON. For now, all commits that match the revs being searched for are loaded into memory before being returned.
| 18 | // Commits are stored as newline-delimited JSON. For now, all commits that match |
| 19 | // the revs being searched for are loaded into memory before being returned. |
| 20 | type JSONBackend struct { |
| 21 | Path string |
| 22 | } |
| 23 | |
| 24 | func (b JSONBackend) Name() string { |
| 25 | return "json" |
nothing calls this directly
no outgoing calls
no test coverage detected