FreeBSD/contrib/subversion/subversion/libsvn_fs_x/tree.c
/* Set *NODE_P to a freshly opened dag node referring to the root
   directory of ROOT, allocating from RESULT_POOL.  Use SCRATCH_POOL
   for temporary allocations.  */
Set *NODE_P to a freshly opened dag node referring to the root
directory of ROOT, allocating from RESULT_POOL.  Use SCRATCH_POOL
for temporary allocations.
Set * NODE_P to a freshly opened dag node referring to the root directory of ROOT allocating from RESULT_POOL . Use SCRATCH_POOL for temporary allocations .
static svn_error_t *
root_node(dag_node_t **node_p,
          svn_fs_root_t *root,
          apr_pool_t *result_pool,
          apr_pool_t *scratch_pool)
{
  if (root->is_txn_root)
    {
      return svn_fs_x__dag_txn_root(node_p, root->fs, root_txn_id(root),
                                    result_pool, scratch_pool);
    }
  else
    {
      return svn_fs_x__dag_revision_root(node_p, root->fs, root->rev,
                                         result_pool, scratch_pool);
    }
}
static svn_error_t * root_node ( dag_node_t * * node_p , svn_fs_root_t * root , apr_pool_t * result_pool , apr_pool_t * scratch_pool ) { if ( root -> is_txn_root ) { return svn_fs_x__dag_txn_root ( node_p , root -> fs , root_txn_id ( root ) , result_pool , scratch_pool ) ; } else { return svn_fs_x__dag_revision_root ( node_p , root -> fs , root -> rev , result_pool , scratch_pool ) ; } }
Set *NODE_P to a freshly opened dag node referring to the root
directory of ROOT, allocating from RESULT_POOL.
Set * NODE_P to a freshly opened dag node referring to the root directory of ROOT allocating from RESULT_POOL .
/* It's a transaction root.  Open a fresh copy.  */ /* It's a revision root, so we already have its root directory
         opened.  */