| 159 | } |
| 160 | |
| 161 | static int odb_source_files_write_object(struct odb_source *source, |
| 162 | const void *buf, unsigned long len, |
| 163 | enum object_type type, |
| 164 | struct object_id *oid, |
| 165 | struct object_id *compat_oid, |
| 166 | enum odb_write_object_flags flags) |
| 167 | { |
| 168 | struct odb_source_files *files = odb_source_files_downcast(source); |
| 169 | return odb_source_write_object(&files->loose->base, buf, len, type, |
| 170 | oid, compat_oid, flags); |
| 171 | } |
| 172 | |
| 173 | static int odb_source_files_write_object_stream(struct odb_source *source, |
| 174 | struct odb_write_stream *stream, |
nothing calls this directly
no test coverage detected