Function pact_ffi::verifier::pactffi_verifier_output

source ยท
#[no_mangle]
pub extern "C" fn pactffi_verifier_output(
    handle: *const VerifierHandle,
    strip_ansi: c_uchar
) -> *const c_char
Expand description

Extracts the standard output for the verification run. The returned string will need to be freed with the free_string function call to avoid leaking memory.

  • strip_ansi - This parameter controls ANSI escape codes. Setting it to a non-zero value will cause the ANSI control codes to be stripped from the output.

Will return a NULL pointer if the handle is invalid.