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

Function odb_source_read_object_stream

odb/source.h:333–338  ·  view source on GitHub ↗

* Create a new read stream for the given object ID. Returns 0 on success, a * negative error code otherwise. */

Source from the content-addressed store, hash-verified

331 * negative error code otherwise.
332 */
333static inline int odb_source_read_object_stream(struct odb_read_stream **out,
334 struct odb_source *source,
335 const struct object_id *oid)
336{
337 return source->read_object_stream(out, source, oid);
338}
339
340/*
341 * Iterate through all objects contained in the given source and invoke the

Calls

no outgoing calls

Tested by 1