pub type git_apply_hunk_cb = Option<extern "C" fn(hunk: *const git_diff_hunk, payload: *mut c_void) -> c_int>;

Aliased Type§

enum git_apply_hunk_cb {
    None,
    Some(extern "C" fn(_: *const git_diff_hunk, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(extern "C" fn(_: *const git_diff_hunk, _: *mut c_void) -> i32)

Some value of type T.