MCPcopy Create free account
hub / github.com/git/git / odb_source_read_object_info

Function odb_source_read_object_info

odb/source.h:321–327  ·  view source on GitHub ↗

* Read an object from the object database source identified by its object ID. * Returns 0 on success, a negative error code otherwise. */

Source from the content-addressed store, hash-verified

319 * Returns 0 on success, a negative error code otherwise.
320 */
321static 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

Calls

no outgoing calls

Tested by 1