libgit2

git_status_cb

Version:

Function pointer to receive status on individual files

Signature

typedef int git_status_cb(const char *path, unsigned int status_flags, void *payload);

Parameters

const char *
In
path

is the path to the file

unsigned int
In
status_flags

the git_status_t values for file's status

void *
In
payload

the user-specified payload to the foreach function

Returns

int

0 on success, or a negative number on failure

Parameter To

Versions