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

Function odb_source_files_write_object

odb/source-files.c:161–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161static int odb_source_files_write_object(struct odb_source *source,
162 const void *buf, unsigned long len,
163 enum object_type type,
164 struct object_id *oid,
165 struct object_id *compat_oid,
166 enum odb_write_object_flags flags)
167{
168 struct odb_source_files *files = odb_source_files_downcast(source);
169 return odb_source_write_object(&files->loose->base, buf, len, type,
170 oid, compat_oid, flags);
171}
172
173static int odb_source_files_write_object_stream(struct odb_source *source,
174 struct odb_write_stream *stream,

Callers

nothing calls this directly

Calls 2

odb_source_write_objectFunction · 0.85

Tested by

no test coverage detected