git_odb_expand_ids

Determine if one or more objects can be found in the object database by their abbreviated object ID and type. The given array will be updated in place: for each abbreviated ID that is unique in the database, and of the given type (if specified), the full object ID, object ID length (GIT_OID_HEXSZ) and type will be written back to the array. For IDs that are not found (or are ambiguous), the array entry will be zeroed.

Note that since this function operates on multiple objects, the underlying database will not be asked to be reloaded if an object is not found (which is unlike other object database operations.)

@param db The database to be searched for the given objects. @param ids An array of short object IDs to search for @param count The length of the ids array @return 0 on success or an error code on failure

extern (C) nothrow @nogc
int
git_odb_expand_ids

Meta