Function xet_filter_stream
pub extern "C" fn xet_filter_stream(
out: *mut *mut OpaqueGitWriteStream,
filter: *mut OpaqueGitFilter,
_payload_ptr: *mut *mut c_void,
source: *const OpaqueGitFilterSource,
next: *mut OpaqueGitWriteStream,
) -> i32Expand description
Stream callback (creates our custom writestream)
§Safety
This function is called by libgit2 with valid pointers. All pointer parameters 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.