FreeBSD/contrib/subversion/subversion/libsvn_fs_x/tree.c
/* Add the NODE for PATH to ROOT's node cache. */
Add the NODE for PATH to ROOT's node cache.
Add the NODE for PATH to ROOT ' s node cache .
static svn_error_t *
dag_node_cache_set(svn_fs_root_t *root,
                   const char *path,
                   dag_node_t *node,
                   apr_pool_t *scratch_pool)
{
  svn_cache__t *cache;
  const char *key;
  SVN_ERR_ASSERT(*path == '/');
  locate_cache(&cache, &key, root, path, scratch_pool);
  return svn_cache__set(cache, key, node, scratch_pool);
}
static svn_error_t * dag_node_cache_set ( svn_fs_root_t * root , const char * path , dag_node_t * node , apr_pool_t * scratch_pool ) { svn_cache__t * cache ; const char * key ; SVN_ERR_ASSERT ( * path == ' ' ) ; locate_cache ( & cache , & key , root , path , scratch_pool ) ; return svn_cache__set ( cache , key , node , scratch_pool ) ; }
Add the NODE for PATH to ROOT's node cache.
Add the NODE for PATH to ROOT ' s node cache .
/* Do *not* attempt to dup and put the node into L1.
   * dup() is twice as expensive as an L2 lookup (which will set also L1).
   */