* Read an object from the object database source identified by its object ID. * Returns 0 on success, a negative error code otherwise. */
| 319 | * Returns 0 on success, a negative error code otherwise. |
| 320 | */ |
| 321 | static inline int odb_source_read_object_info(struct odb_source *source, |
| 322 | const struct object_id *oid, |
| 323 | struct object_info *oi, |
| 324 | enum object_info_flags flags) |
| 325 | { |
| 326 | return source->read_object_info(source, oid, oi, flags); |
| 327 | } |
| 328 | |
| 329 | /* |
| 330 | * Create a new read stream for the given object ID. Returns 0 on success, a |
no outgoing calls