svn_fs_delete

Function svn_fs_delete 

Source
pub unsafe extern "C" fn svn_fs_delete(
    root: *mut svn_fs_root_t,
    path: *const c_char,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Delete the node named @a path in @a root. If the node being deleted is a directory, its contents will be deleted recursively. @a root must be the root of a transaction, not of a revision. Use @a pool for temporary allocation.

If return #SVN_ERR_FS_NO_SUCH_ENTRY, then the basename of @a path is missing from its parent, that is, the final target of the deletion is missing.

Attempting to remove the root dir also results in an error, #SVN_ERR_FS_ROOT_DIR, even if the dir is empty.