| 295 | } |
| 296 | |
| 297 | static int odb_source_inmemory_freshen_object(struct odb_source *source, |
| 298 | const struct object_id *oid) |
| 299 | { |
| 300 | struct odb_source_inmemory *inmemory = odb_source_inmemory_downcast(source); |
| 301 | if (find_cached_object(inmemory, oid)) |
| 302 | return 1; |
| 303 | return 0; |
| 304 | } |
| 305 | |
| 306 | static int odb_source_inmemory_begin_transaction(struct odb_source *source UNUSED, |
| 307 | struct odb_transaction **out UNUSED) |
nothing calls this directly
no test coverage detected