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

Function odb_source_write_object_stream

odb/source.h:427–433  ·  view source on GitHub ↗

* Write an object into the object database source via a stream. The overall * length of the object must be known in advance. * * Return 0 on success, a negative error code otherwise. Populates the given * out pointer for the object ID. */

Source from the content-addressed store, hash-verified

425 * out pointer for the object ID.
426 */
427static inline int odb_source_write_object_stream(struct odb_source *source,
428 struct odb_write_stream *stream,
429 size_t len,
430 struct object_id *oid)
431{
432 return source->write_object_stream(source, stream, len, oid);
433}
434
435/*
436 * Read the list of alternative object database sources from the given backend

Calls

no outgoing calls

Tested by 1