Skip to main content

xet_filter_check

Function xet_filter_check 

Source
pub extern "C" fn xet_filter_check(
    _filter: *mut OpaqueGitFilter,
    _payload_out: *mut *mut c_void,
    source: *const OpaqueGitFilterSource,
    _attr_values: *const *const c_char,
) -> c_int
Expand description

Check callback (determines if filter should apply)

§Safety

This function is called by libgit2 with valid pointers. The source pointer must be valid for the duration of this call. This is guaranteed by libgit2’s callback contract. The raw pointer dereferences are safe within this context.