FreeBSD/contrib/subversion/subversion/libsvn_fs_x/tree.c
/* Return a text string describing the absolute path of parent_path
   PARENT_PATH.  It will be allocated in POOL. */
Return a text string describing the absolute path of parent_path
PARENT_PATH.  It will be allocated in POOL.
Return a text string describing the absolute path of parent_path PARENT_PATH . It will be allocated in POOL .
static const char *
parent_path_path(parent_path_t *parent_path,
                 apr_pool_t *pool)
{
  const char *path_so_far = "/";
  if (parent_path->parent)
    path_so_far = parent_path_path(parent_path->parent, pool);
  return parent_path->entry
    ? svn_fspath__join(path_so_far, parent_path->entry, pool)
    : path_so_far;
}
static const char * parent_path_path ( parent_path_t * parent_path , apr_pool_t * pool ) { const char * path_so_far = " " ; if ( parent_path -> parent ) path_so_far = parent_path_path ( parent_path -> parent , pool ) ; return parent_path -> entry ? svn_fspath__join ( path_so_far , parent_path -> entry , pool ) : path_so_far ; }
Return a text string describing the absolute path of parent_path
PARENT_PATH.
Return a text string describing the absolute path of parent_path PARENT_PATH .