git_pathspec_match_list_diff_entry

Get a matching diff delta by position.

This routine can only be used if the match list was generated by git_pathspec_match_diff. Otherwise it will always return null.

extern (C) nothrow @nogc
git_pathspec_match_list_diff_entry
(,
size_t pos
)

Parameters

m const(.git_pathspec_match_list)*

The git_pathspec_match_list object

pos size_t

The index into the list

Return Value

Type: const(libgit2_d.diff.git_diff_delta)*

The filename of the match

Meta