1
/* tree.h : internal interface to tree node functions
3
* ====================================================================
4
* Copyright (c) 2000-2004 CollabNet. All rights reserved.
6
* This software is licensed as described in the file COPYING, which
7
* you should have received as part of this distribution. The terms
8
* are also available at http://subversion.tigris.org/license-1.html.
9
* If newer versions of this license are posted there, you may use a
10
* newer version instead, at your option.
12
* This software consists of voluntary contributions made by many
13
* individuals. For exact contribution history, see the revision
14
* history and logs, available at http://subversion.tigris.org/.
15
* ====================================================================
18
#ifndef SVN_LIBSVN_FS_TREE_H
19
#define SVN_LIBSVN_FS_TREE_H
23
#endif /* __cplusplus */
27
/* These functions implement some of the calls in the FS loader
28
library's fs and txn vtables. */
30
svn_error_t *svn_fs_base__revision_root (svn_fs_root_t **root_p, svn_fs_t *fs,
31
svn_revnum_t rev, apr_pool_t *pool);
33
svn_error_t *svn_fs_base__deltify (svn_fs_t *fs, svn_revnum_t rev,
36
svn_error_t *svn_fs_base__commit_txn (const char **conflict_p,
37
svn_revnum_t *new_rev, svn_fs_txn_t *txn,
40
svn_error_t *svn_fs_base__txn_root (svn_fs_root_t **root_p, svn_fs_txn_t *txn,
46
/* Helper func: in the context of TRAIL, return the KIND of PATH in
47
head revision. If PATH doesn't exist, set *KIND to svn_node_none.*/
48
svn_error_t *svn_fs_base__get_path_kind (svn_node_kind_t *kind,
53
/* Helper func: in the context of TRAIL, set *REV to the created-rev
54
of PATH in head revision. If PATH doesn't exist, set *REV to
55
SVN_INVALID_REVNUM. */
56
svn_error_t *svn_fs_base__get_path_created_rev (svn_revnum_t *rev,
64
#endif /* __cplusplus */
66
#endif /* SVN_LIBSVN_FS_TREE_H */