libgit2

git_merge_file_input

Version:

The file inputs to git_merge_file. Callers should populate the git_merge_file_input structure with descriptions of the files in each side of the conflict for use in producing the merge file.

Signature

typedef struct git_merge_file_input { unsigned int version const char *ptr size_t size const char *path unsigned int mode };

Members

unsigned int
version
const char *
ptr

Pointer to the contents of the file.

size_t
size

Size of the contents pointed to in ptr.

const char *
path

File name of the conflicted file, or NULL to not merge the path.

unsigned int
mode

File mode of the conflicted file, or 0 to not merge the mode.

Parameter To

Versions