Skip to content

Commit c1e4ae1

Browse files
committed
add git_index_find_prefix to raw
1 parent f8ac2f7 commit c1e4ae1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libgit2-sys/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2953,6 +2953,11 @@ extern "C" {
29532953
pub fn git_index_entrycount(entry: *const git_index) -> size_t;
29542954
pub fn git_index_find(at_pos: *mut size_t, index: *mut git_index, path: *const c_char)
29552955
-> c_int;
2956+
pub fn git_index_find_prefix(
2957+
at_pos: *mut size_t,
2958+
index: *mut git_index,
2959+
prefix: *const c_char,
2960+
) -> c_int;
29562961
pub fn git_index_free(index: *mut git_index);
29572962
pub fn git_index_get_byindex(index: *mut git_index, n: size_t) -> *const git_index_entry;
29582963
pub fn git_index_get_bypath(

0 commit comments

Comments
 (0)