Skip to main content

svn_wc_conflict_version_create2

Function svn_wc_conflict_version_create2 

Source
pub unsafe extern "C" fn svn_wc_conflict_version_create2(
    repos_root_url: *const c_char,
    repos_uuid: *const c_char,
    repos_relpath: *const c_char,
    revision: svn_revnum_t,
    kind: svn_node_kind_t,
    result_pool: *mut apr_pool_t,
) -> *mut svn_wc_conflict_version_t
Expand description

Allocate an #svn_wc_conflict_version_t structure in @a pool, initialize to contain a conflict origin, and return it.

Set the @c repos_url field of the created struct to @a repos_root_url, the @c path_in_repos field to @a repos_relpath, the @c peg_rev field to @a revision and the @c node_kind to @a kind. Make only shallow copies of the pointer arguments.

@a repos_root_url, @a repos_relpath and @a revision must be valid, non-null values. @a repos_uuid should be a valid UUID, but can be NULL if unknown. @a kind can be any kind, even ‘none’ or ‘unknown’.

@since New in 1.8.