pub unsafe extern "C" fn svn_repos_node_editor(
editor: *mut *const svn_delta_editor_t,
edit_baton: *mut *mut c_void,
repos: *mut svn_repos_t,
base_root: *mut svn_fs_root_t,
root: *mut svn_fs_root_t,
node_pool: *mut apr_pool_t,
pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Set @a *editor and @a *edit_baton to an editor that, when driven by a driver such as svn_repos_replay2(), builds an svn_repos_node_t * tree representing the delta from @a base_root to @a root in @a repos’s filesystem.
The editor can also be driven by svn_repos_dir_delta2() or svn_repos_begin_report3(), but unless you have special needs, svn_repos_replay2() is preferred.
Invoke svn_repos_node_from_baton() on @a edit_baton to obtain the root node afterwards.
Note that the delta includes “bubbled-up” directories; that is, many of the directory nodes will have no prop_mods.
Allocate the tree and its contents in @a node_pool; do all other allocation in @a pool.