svn_repos_link_path3

Function svn_repos_link_path3 

Source
pub unsafe extern "C" fn svn_repos_link_path3(
    report_baton: *mut c_void,
    path: *const c_char,
    link_path: *const c_char,
    revision: svn_revnum_t,
    depth: svn_depth_t,
    start_empty: svn_boolean_t,
    lock_token: *const c_char,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Given a @a report_baton constructed by svn_repos_begin_report3(), record the presence of @a path in the current tree, containing the contents of @a link_path at @a revision with depth @a depth.

A depth of #svn_depth_unknown is not allowed, and results in an error.

@a path may not be underneath a path on which svn_repos_set_path3() was previously called with #svn_depth_exclude in this report.

Note that while @a path is relative to the anchor/target used in the creation of the @a report_baton, @a link_path is an absolute filesystem path!

If @a start_empty is TRUE and @a path is a directory, then require the caller to explicitly provide all the children of @a path - do not assume that the tree also contains all the children of @a link_path at @a revision. This is for ‘low confidence’ client reporting.

If the caller has a lock token for @a link_path, then @a lock_token should be set to that token. Else, @a lock_token should be NULL.

All temporary allocations are done in @a pool.

@since New in 1.5.