libgit2_d.sys.index

Undocumented in source.

Members

Functions

git_index_name_add
int git_index_name_add(libgit2_d.types.git_index* index, const(char)* ancestor, const(char)* ours, const(char)* theirs)

Record the filenames involved in a rename conflict.

git_index_name_clear
int git_index_name_clear(libgit2_d.types.git_index* index)

Remove all filename conflict entries.

git_index_name_entrycount
size_t git_index_name_entrycount(libgit2_d.types.git_index* index)

Get the count of filename conflict entries currently in the index.

git_index_name_get_byindex
const(.git_index_name_entry)* git_index_name_get_byindex(libgit2_d.types.git_index* index, size_t n)

Get a filename conflict entry from the index.

git_index_reuc_add
int git_index_reuc_add(libgit2_d.types.git_index* index, const(char)* path, int ancestor_mode, const(libgit2_d.oid.git_oid)* ancestor_id, int our_mode, const(libgit2_d.oid.git_oid)* our_id, int their_mode, const(libgit2_d.oid.git_oid)* their_id)

Adds a resolve undo entry for a file based on the given parameters.

git_index_reuc_clear
int git_index_reuc_clear(libgit2_d.types.git_index* index)

Remove all resolve undo entries from the index

git_index_reuc_entrycount
size_t git_index_reuc_entrycount(libgit2_d.types.git_index* index)

Get the count of resolve undo entries currently in the index.

git_index_reuc_find
int git_index_reuc_find(size_t* at_pos, libgit2_d.types.git_index* index, const(char)* path)

Finds the resolve undo entry that points to the given path in the Git index.

git_index_reuc_get_byindex
const(.git_index_reuc_entry)* git_index_reuc_get_byindex(libgit2_d.types.git_index* index, size_t n)

Get a resolve undo entry from the index.

git_index_reuc_get_bypath
const(.git_index_reuc_entry)* git_index_reuc_get_bypath(libgit2_d.types.git_index* index, const(char)* path)

Get a resolve undo entry from the index.

git_index_reuc_remove
int git_index_reuc_remove(libgit2_d.types.git_index* index, size_t n)

Remove an resolve undo entry from the index

Structs

git_index_name_entry
struct git_index_name_entry

Representation of a rename conflict entry in the index.

git_index_reuc_entry
struct git_index_reuc_entry

Representation of a resolve undo entry in the index.

Meta