libgit2

git_odb_expand_id

Version:

The information about object IDs to query in git_odb_expand_ids, which will be populated upon return.

Signature

typedef struct git_odb_expand_id { git_oid id unsigned short length git_object_t type };

Members

id

The object ID to expand

unsigned short
length

The length of the object ID (in nibbles, or packets of 4 bits; the number of hex characters)

type

The (optional) type of the object to search for; leave as 0 or set to GIT_OBJECT_ANY to query for any object matching the ID.

Parameter To

Versions