libgit2

git_status_list_entrycount

Version:

Gets the count of status entries in this list.

If there are no changes in status (at least according the options given when the status list was created), this can return 0.

Signature

size_t git_status_list_entrycount(git_status_list *statuslist);

Parameters

In
statuslist

Existing status list object

Returns

size_t

the number of status entries

Versions