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

Function istream_source

odb/streaming.c:181–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179 *****************************************************************************/
180
181static int istream_source(struct odb_read_stream **out,
182 struct object_database *odb,
183 const struct object_id *oid)
184{
185 struct odb_source *source;
186
187 odb_prepare_alternates(odb);
188 for (source = odb->sources; source; source = source->next)
189 if (!odb_source_read_object_stream(out, source, oid))
190 return 0;
191
192 return open_istream_incore(out, odb, oid);
193}
194
195/****************************************************************
196 * Users of streaming interface

Callers 1

odb_read_stream_openFunction · 0.85

Calls 3

odb_prepare_alternatesFunction · 0.85
open_istream_incoreFunction · 0.85

Tested by

no test coverage detected