FreeBSD/contrib/subversion/subversion/libsvn_fs_x/tree.c
/* Set *LENGTH_P to the size of the file PATH under ROOT.  Temporary
   allocations are in SCRATCH_POOL. */
Set *LENGTH_P to the size of the file PATH under ROOT.  Temporary
allocations are in SCRATCH_POOL.
Set * LENGTH_P to the size of the file PATH under ROOT . Temporary allocations are in SCRATCH_POOL .
static svn_error_t *
x_file_length(svn_filesize_t *length_p,
              svn_fs_root_t *root,
              const char *path,
              apr_pool_t *scratch_pool)
{
  dag_node_t *file;
  SVN_ERR(get_dag(&file, root, path, scratch_pool));
  return svn_fs_x__dag_file_length(length_p, file);
}
static svn_error_t * x_file_length ( svn_filesize_t * length_p , svn_fs_root_t * root , const char * path , apr_pool_t * scratch_pool ) { dag_node_t * file ; SVN_ERR ( get_dag ( & file , root , path , scratch_pool ) ) ; return svn_fs_x__dag_file_length ( length_p , file ) ; }
Set *LENGTH_P to the size of the file PATH under ROOT.
Set * LENGTH_P to the size of the file PATH under ROOT .
/* First create a dag_node_t from the root/path pair. */ /* Now fetch its length */