libgit2

git_packbuilder_foreach_cb

Version:

Callback used to iterate over packed objects

See

Signature

typedef int git_packbuilder_foreach_cb(void *buf, size_t size, void *payload);

Parameters

void *
In
buf

A pointer to the object's data

size_t
In
size

The size of the underlying object

void *
In
payload

Payload passed to git_packbuilder_foreach

Returns

int

non-zero to terminate the iteration

Parameter To

Versions