| 217 | } |
| 218 | |
| 219 | static int odb_source_inmemory_count_objects(struct odb_source *source, |
| 220 | enum odb_count_objects_flags flags UNUSED, |
| 221 | unsigned long *out) |
| 222 | { |
| 223 | struct odb_for_each_object_options opts = { 0 }; |
| 224 | *out = 0; |
| 225 | return odb_source_inmemory_for_each_object(source, NULL, count_objects_cb, |
| 226 | out, &opts); |
| 227 | } |
| 228 | |
| 229 | static int odb_source_inmemory_write_object(struct odb_source *source, |
| 230 | const void *buf, unsigned long len, |
nothing calls this directly
no test coverage detected