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

Function odb_source_loose_write_object_stream

odb/source-loose.c:627–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625}
626
627static int odb_source_loose_write_object_stream(struct odb_source *source,
628 struct odb_write_stream *in_stream,
629 size_t len,
630 struct object_id *oid)
631{
632 /*
633 * TODO: the implementation should be moved here, see the comment on
634 * the called function in "object-file.h".
635 */
636 struct odb_source_loose *loose = odb_source_loose_downcast(source);
637 return odb_source_loose_write_stream(loose, in_stream, len, oid);
638}
639
640static int odb_source_loose_begin_transaction(struct odb_source *source UNUSED,
641 struct odb_transaction **out UNUSED)

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected