MCPcopy Index your code
hub / github.com/git/git / odb_source_count_objects

Function odb_source_count_objects

odb/source.h:374–379  ·  view source on GitHub ↗

* Count the number of objects in the given object database source. * * Returns 0 on success, a negative error code otherwise. */

Source from the content-addressed store, hash-verified

372 * Returns 0 on success, a negative error code otherwise.
373 */
374static inline int odb_source_count_objects(struct odb_source *source,
375 enum odb_count_objects_flags flags,
376 unsigned long *out)
377{
378 return source->count_objects(source, flags, out);
379}
380
381/*
382 * Determine the minimum required length to make the given object ID unique in

Callers 4

odb_count_objectsFunction · 0.85
too_many_loose_objectsFunction · 0.85

Calls

no outgoing calls

Tested by 1