git_repository_state_cleanup

Remove all the metadata associated with an ongoing command like merge, revert, cherry-pick, etc. For example: MERGE_HEAD, MERGE_MSG, etc.

extern (C) nothrow @nogc
int
git_repository_state_cleanup

Parameters

repo libgit2_d.types.git_repository*

A repository object

Return Value

Type: int

0 on success, or error

Meta