Skip to main content

svn_checksum_to_cstring

Function svn_checksum_to_cstring 

Source
pub unsafe extern "C" fn svn_checksum_to_cstring(
    checksum: *const svn_checksum_t,
    pool: *mut apr_pool_t,
) -> *const c_char
Expand description

Return the hex representation of @a checksum, allocating the string in @a pool. If @a checksum->digest is all zeros (that is, 0, not ‘0’) then return NULL. In 1.7+, @a checksum may be NULL and NULL will be returned in that case.

@since New in 1.6. @note Passing NULL for @a checksum in 1.6 will cause a segfault.