libgit2

git_index_reuc_get_bypath

Version:

Get a resolve undo entry from the index.

The returned entry is read-only and should not be modified or freed by the caller.

Signature

const git_index_reuc_entry *git_index_reuc_get_bypath(git_index *index, const char *path);

Parameters

In
index

an existing index object

const char *
In
path

path to search

Returns

the resolve undo entry; NULL if not found

Versions