libgit2

git_index_path

Version:

Get the full path to the index file on disk.

Signature

const char *git_index_path(const git_index *index);

Parameters

In
index

an existing index object

Returns

const char *

path to index file or NULL for in-memory index

Versions