| 63 | } |
| 64 | |
| 65 | static int odb_source_files_read_object_stream(struct odb_read_stream **out, |
| 66 | struct odb_source *source, |
| 67 | const struct object_id *oid) |
| 68 | { |
| 69 | struct odb_source_files *files = odb_source_files_downcast(source); |
| 70 | if (!packfile_store_read_object_stream(out, files->packed, oid) || |
| 71 | !odb_source_read_object_stream(out, &files->loose->base, oid)) |
| 72 | return 0; |
| 73 | return -1; |
| 74 | } |
| 75 | |
| 76 | static int odb_source_files_for_each_object(struct odb_source *source, |
| 77 | const struct object_info *request, |
nothing calls this directly
no test coverage detected