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

Function odb_source_files_read_object_stream

odb/source-files.c:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static int odb_source_files_read_object_stream(struct odb_read_stream **out,
66 struct odb_source *source,
67 const struct object_id *oid)
68{
69 struct odb_source_files *files = odb_source_files_downcast(source);
70 if (!packfile_store_read_object_stream(out, files->packed, oid) ||
71 !odb_source_read_object_stream(out, &files->loose->base, oid))
72 return 0;
73 return -1;
74}
75
76static int odb_source_files_for_each_object(struct odb_source *source,
77 const struct object_info *request,

Callers

nothing calls this directly

Tested by

no test coverage detected