GME  13
Classes | Defines | Typedefs | Enumerations | Functions
svn_fs.h File Reference

Interface to the Subversion filesystem. More...

Go to the source code of this file.

Classes

struct  svn_fs_path_change2_t
struct  svn_fs_path_change_t
struct  svn_fs_dirent_t

Defines

#define SVN_FS_TXN_CHECK_OOD   0x00001
#define SVN_FS_TXN_CHECK_LOCKS   0x00002
Filesystem configuration options
#define SVN_FS_CONFIG_BDB_TXN_NOSYNC   "bdb-txn-nosync"
#define SVN_FS_CONFIG_BDB_LOG_AUTOREMOVE   "bdb-log-autoremove"
#define SVN_FS_CONFIG_FSFS_CACHE_DELTAS   "fsfs-cache-deltas"
#define SVN_FS_CONFIG_FSFS_CACHE_FULLTEXTS   "fsfs-cache-fulltexts"
#define SVN_FS_CONFIG_FSFS_CACHE_REVPROPS   "fsfs-cache-revprops"
#define SVN_FS_CONFIG_FSFS_CACHE_NS   "fsfs-cache-namespace"
#define SVN_FS_CONFIG_FS_TYPE   "fs-type"
#define SVN_FS_TYPE_BDB   "bdb"
#define SVN_FS_TYPE_FSFS   "fsfs"
#define SVN_FS_CONFIG_PRE_1_4_COMPATIBLE   "pre-1.4-compatible"
#define SVN_FS_CONFIG_PRE_1_5_COMPATIBLE   "pre-1.5-compatible"
#define SVN_FS_CONFIG_PRE_1_6_COMPATIBLE   "pre-1.6-compatible"
#define SVN_FS_CONFIG_PRE_1_8_COMPATIBLE   "pre-1.8-compatible"

Typedefs

typedef struct svn_fs_t svn_fs_t
typedef void(* svn_fs_warning_callback_t )(void *baton, svn_error_t *err)
typedef void(* svn_fs_progress_notify_func_t )(svn_revnum_t revision, void *baton, apr_pool_t *pool)
typedef svn_error_t *(* svn_fs_freeze_func_t )(void *baton, apr_pool_t *pool)
typedef struct svn_fs_access_t svn_fs_access_t
typedef struct svn_fs_id_t svn_fs_id_t
typedef struct svn_fs_txn_t svn_fs_txn_t
typedef struct svn_fs_root_t svn_fs_root_t
typedef enum
svn_fs_path_change_kind_t 
svn_fs_path_change_kind_t
typedef struct
svn_fs_path_change2_t 
svn_fs_path_change2_t
typedef struct svn_fs_path_change_t svn_fs_path_change_t
typedef struct svn_fs_history_t svn_fs_history_t
typedef struct svn_fs_dirent_t svn_fs_dirent_t
typedef svn_error_t *(* svn_fs_process_contents_func_t )(const unsigned char *contents, apr_size_t len, void *baton, apr_pool_t *scratch_pool)
typedef svn_error_t *(* svn_fs_get_locks_callback_t )(void *baton, svn_lock_t *lock, apr_pool_t *pool)
typedef enum
svn_fs_pack_notify_action_t 
svn_fs_pack_notify_action_t
typedef svn_error_t *(* svn_fs_pack_notify_t )(void *baton, apr_int64_t shard, svn_fs_pack_notify_action_t action, apr_pool_t *pool)

Enumerations

enum  svn_fs_path_change_kind_t {
  svn_fs_path_change_modify = 0, svn_fs_path_change_add, svn_fs_path_change_delete, svn_fs_path_change_replace,
  svn_fs_path_change_reset
}
enum  svn_fs_pack_notify_action_t { svn_fs_pack_notify_start = 0, svn_fs_pack_notify_end, svn_fs_pack_notify_start_revprop, svn_fs_pack_notify_end_revprop }

Functions

const svn_version_tsvn_fs_version (void)
svn_error_tsvn_fs_initialize (apr_pool_t *pool)
void svn_fs_set_warning_func (svn_fs_t *fs, svn_fs_warning_callback_t warning, void *warning_baton)
svn_error_tsvn_fs_create (svn_fs_t **fs_p, const char *path, apr_hash_t *fs_config, apr_pool_t *pool)
svn_error_tsvn_fs_open (svn_fs_t **fs_p, const char *path, apr_hash_t *fs_config, apr_pool_t *pool)
svn_error_tsvn_fs_upgrade (const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_type (const char **fs_type, const char *path, apr_pool_t *pool)
const char * svn_fs_path (svn_fs_t *fs, apr_pool_t *pool)
apr_hash_tsvn_fs_config (svn_fs_t *fs, apr_pool_t *pool)
svn_error_tsvn_fs_delete_fs (const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_hotcopy2 (const char *src_path, const char *dest_path, svn_boolean_t clean, svn_boolean_t incremental, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool)
SVN_DEPRECATED svn_error_tsvn_fs_hotcopy (const char *src_path, const char *dest_path, svn_boolean_t clean, apr_pool_t *pool)
svn_error_tsvn_fs_recover (const char *path, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
svn_error_tsvn_fs_freeze (svn_fs_t *fs, svn_fs_freeze_func_t freeze_func, void *freeze_baton, apr_pool_t *pool)
SVN_DEPRECATED svn_error_tsvn_fs_set_berkeley_errcall (svn_fs_t *fs, void(*handler)(const char *errpfx, char *msg))
svn_error_tsvn_fs_berkeley_logfiles (apr_array_header_t **logfiles, const char *path, svn_boolean_t only_unused, apr_pool_t *pool)
SVN_DEPRECATED svn_fs_tsvn_fs_new (apr_hash_t *fs_config, apr_pool_t *pool)
SVN_DEPRECATED svn_error_tsvn_fs_create_berkeley (svn_fs_t *fs, const char *path)
SVN_DEPRECATED svn_error_tsvn_fs_open_berkeley (svn_fs_t *fs, const char *path)
SVN_DEPRECATED const char * svn_fs_berkeley_path (svn_fs_t *fs, apr_pool_t *pool)
SVN_DEPRECATED svn_error_tsvn_fs_delete_berkeley (const char *path, apr_pool_t *pool)
SVN_DEPRECATED svn_error_tsvn_fs_hotcopy_berkeley (const char *src_path, const char *dest_path, svn_boolean_t clean_logs, apr_pool_t *pool)
SVN_DEPRECATED svn_error_tsvn_fs_berkeley_recover (const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_create_access (svn_fs_access_t **access_ctx, const char *username, apr_pool_t *pool)
svn_error_tsvn_fs_set_access (svn_fs_t *fs, svn_fs_access_t *access_ctx)
svn_error_tsvn_fs_get_access (svn_fs_access_t **access_ctx, svn_fs_t *fs)
svn_error_tsvn_fs_access_get_username (const char **username, svn_fs_access_t *access_ctx)
svn_error_tsvn_fs_access_add_lock_token2 (svn_fs_access_t *access_ctx, const char *path, const char *token)
SVN_DEPRECATED svn_error_tsvn_fs_access_add_lock_token (svn_fs_access_t *access_ctx, const char *token)
int svn_fs_compare_ids (const svn_fs_id_t *a, const svn_fs_id_t *b)
svn_boolean_t svn_fs_check_related (const svn_fs_id_t *id1, const svn_fs_id_t *id2)
SVN_DEPRECATED svn_fs_id_tsvn_fs_parse_id (const char *data, apr_size_t len, apr_pool_t *pool)
svn_string_tsvn_fs_unparse_id (const svn_fs_id_t *id, apr_pool_t *pool)
svn_error_tsvn_fs_begin_txn2 (svn_fs_txn_t **txn_p, svn_fs_t *fs, svn_revnum_t rev, apr_uint32_t flags, apr_pool_t *pool)
SVN_DEPRECATED svn_error_tsvn_fs_begin_txn (svn_fs_txn_t **txn_p, svn_fs_t *fs, svn_revnum_t rev, apr_pool_t *pool)
svn_error_tsvn_fs_commit_txn (const char **conflict_p, svn_revnum_t *new_rev, svn_fs_txn_t *txn, apr_pool_t *pool)
svn_error_tsvn_fs_abort_txn (svn_fs_txn_t *txn, apr_pool_t *pool)
svn_error_tsvn_fs_purge_txn (svn_fs_t *fs, const char *txn_id, apr_pool_t *pool)
svn_error_tsvn_fs_txn_name (const char **name_p, svn_fs_txn_t *txn, apr_pool_t *pool)
svn_revnum_t svn_fs_txn_base_revision (svn_fs_txn_t *txn)
svn_error_tsvn_fs_open_txn (svn_fs_txn_t **txn, svn_fs_t *fs, const char *name, apr_pool_t *pool)
svn_error_tsvn_fs_list_transactions (apr_array_header_t **names_p, svn_fs_t *fs, apr_pool_t *pool)
svn_error_tsvn_fs_txn_prop (svn_string_t **value_p, svn_fs_txn_t *txn, const char *propname, apr_pool_t *pool)
svn_error_tsvn_fs_txn_proplist (apr_hash_t **table_p, svn_fs_txn_t *txn, apr_pool_t *pool)
svn_error_tsvn_fs_change_txn_prop (svn_fs_txn_t *txn, const char *name, const svn_string_t *value, apr_pool_t *pool)
svn_error_tsvn_fs_change_txn_props (svn_fs_txn_t *txn, const apr_array_header_t *props, apr_pool_t *pool)
svn_error_tsvn_fs_revision_root (svn_fs_root_t **root_p, svn_fs_t *fs, svn_revnum_t rev, apr_pool_t *pool)
svn_error_tsvn_fs_txn_root (svn_fs_root_t **root_p, svn_fs_txn_t *txn, apr_pool_t *pool)
void svn_fs_close_root (svn_fs_root_t *root)
svn_fs_tsvn_fs_root_fs (svn_fs_root_t *root)
svn_boolean_t svn_fs_is_txn_root (svn_fs_root_t *root)
svn_boolean_t svn_fs_is_revision_root (svn_fs_root_t *root)
const char * svn_fs_txn_root_name (svn_fs_root_t *root, apr_pool_t *pool)
svn_revnum_t svn_fs_txn_root_base_revision (svn_fs_root_t *root)
svn_revnum_t svn_fs_revision_root_revision (svn_fs_root_t *root)
svn_fs_path_change2_tsvn_fs_path_change2_create (const svn_fs_id_t *node_rev_id, svn_fs_path_change_kind_t change_kind, apr_pool_t *pool)
svn_error_tsvn_fs_paths_changed2 (apr_hash_t **changed_paths2_p, svn_fs_root_t *root, apr_pool_t *pool)
SVN_DEPRECATED svn_error_tsvn_fs_paths_changed (apr_hash_t **changed_paths_p, svn_fs_root_t *root, apr_pool_t *pool)
svn_error_tsvn_fs_check_path (svn_node_kind_t *kind_p, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_node_history (svn_fs_history_t **history_p, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_history_prev (svn_fs_history_t **prev_history_p, svn_fs_history_t *history, svn_boolean_t cross_copies, apr_pool_t *pool)
svn_error_tsvn_fs_history_location (const char **path, svn_revnum_t *revision, svn_fs_history_t *history, apr_pool_t *pool)
svn_error_tsvn_fs_is_dir (svn_boolean_t *is_dir, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_is_file (svn_boolean_t *is_file, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_node_id (const svn_fs_id_t **id_p, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_node_created_rev (svn_revnum_t *revision, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_node_origin_rev (svn_revnum_t *revision, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_node_created_path (const char **created_path, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_node_prop (svn_string_t **value_p, svn_fs_root_t *root, const char *path, const char *propname, apr_pool_t *pool)
svn_error_tsvn_fs_node_proplist (apr_hash_t **table_p, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_change_node_prop (svn_fs_root_t *root, const char *path, const char *name, const svn_string_t *value, apr_pool_t *pool)
svn_error_tsvn_fs_props_changed (svn_boolean_t *changed_p, svn_fs_root_t *root1, const char *path1, svn_fs_root_t *root2, const char *path2, apr_pool_t *pool)
svn_error_tsvn_fs_copied_from (svn_revnum_t *rev_p, const char **path_p, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_closest_copy (svn_fs_root_t **root_p, const char **path_p, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_get_mergeinfo2 (svn_mergeinfo_catalog_t *catalog, svn_fs_root_t *root, const apr_array_header_t *paths, svn_mergeinfo_inheritance_t inherit, svn_boolean_t include_descendants, svn_boolean_t adjust_inherited_mergeinfo, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
SVN_DEPRECATED svn_error_tsvn_fs_get_mergeinfo (svn_mergeinfo_catalog_t *catalog, svn_fs_root_t *root, const apr_array_header_t *paths, svn_mergeinfo_inheritance_t inherit, svn_boolean_t include_descendants, apr_pool_t *pool)
svn_error_tsvn_fs_merge (const char **conflict_p, svn_fs_root_t *source_root, const char *source_path, svn_fs_root_t *target_root, const char *target_path, svn_fs_root_t *ancestor_root, const char *ancestor_path, apr_pool_t *pool)
svn_error_tsvn_fs_dir_entries (apr_hash_t **entries_p, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_make_dir (svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_delete (svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_copy (svn_fs_root_t *from_root, const char *from_path, svn_fs_root_t *to_root, const char *to_path, apr_pool_t *pool)
svn_error_tsvn_fs_revision_link (svn_fs_root_t *from_root, svn_fs_root_t *to_root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_file_length (svn_filesize_t *length_p, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_file_checksum (svn_checksum_t **checksum, svn_checksum_kind_t kind, svn_fs_root_t *root, const char *path, svn_boolean_t force, apr_pool_t *pool)
SVN_DEPRECATED svn_error_tsvn_fs_file_md5_checksum (unsigned char digest[], svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_file_contents (svn_stream_t **contents, svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_try_process_file_contents (svn_boolean_t *success, svn_fs_root_t *root, const char *path, svn_fs_process_contents_func_t processor, void *baton, apr_pool_t *pool)
svn_error_tsvn_fs_make_file (svn_fs_root_t *root, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_apply_textdelta (svn_txdelta_window_handler_t *contents_p, void **contents_baton_p, svn_fs_root_t *root, const char *path, const char *base_checksum, const char *result_checksum, apr_pool_t *pool)
svn_error_tsvn_fs_apply_text (svn_stream_t **contents_p, svn_fs_root_t *root, const char *path, const char *result_checksum, apr_pool_t *pool)
svn_error_tsvn_fs_contents_changed (svn_boolean_t *changed_p, svn_fs_root_t *root1, const char *path1, svn_fs_root_t *root2, const char *path2, apr_pool_t *pool)
svn_error_tsvn_fs_youngest_rev (svn_revnum_t *youngest_p, svn_fs_t *fs, apr_pool_t *pool)
svn_error_tsvn_fs_deltify_revision (svn_fs_t *fs, svn_revnum_t revision, apr_pool_t *pool)
svn_error_tsvn_fs_revision_prop (svn_string_t **value_p, svn_fs_t *fs, svn_revnum_t rev, const char *propname, apr_pool_t *pool)
svn_error_tsvn_fs_revision_proplist (apr_hash_t **table_p, svn_fs_t *fs, svn_revnum_t rev, apr_pool_t *pool)
svn_error_tsvn_fs_change_rev_prop2 (svn_fs_t *fs, svn_revnum_t rev, const char *name, const svn_string_t *const *old_value_p, const svn_string_t *value, apr_pool_t *pool)
SVN_DEPRECATED svn_error_tsvn_fs_change_rev_prop (svn_fs_t *fs, svn_revnum_t rev, const char *name, const svn_string_t *value, apr_pool_t *pool)
svn_error_tsvn_fs_get_file_delta_stream (svn_txdelta_stream_t **stream_p, svn_fs_root_t *source_root, const char *source_path, svn_fs_root_t *target_root, const char *target_path, apr_pool_t *pool)
svn_error_tsvn_fs_get_uuid (svn_fs_t *fs, const char **uuid, apr_pool_t *pool)
svn_error_tsvn_fs_set_uuid (svn_fs_t *fs, const char *uuid, apr_pool_t *pool)
svn_error_tsvn_fs_lock (svn_lock_t **lock, svn_fs_t *fs, const char *path, const char *token, const char *comment, svn_boolean_t is_dav_comment, apr_time_t expiration_date, svn_revnum_t current_rev, svn_boolean_t steal_lock, apr_pool_t *pool)
svn_error_tsvn_fs_generate_lock_token (const char **token, svn_fs_t *fs, apr_pool_t *pool)
svn_error_tsvn_fs_unlock (svn_fs_t *fs, const char *path, const char *token, svn_boolean_t break_lock, apr_pool_t *pool)
svn_error_tsvn_fs_get_lock (svn_lock_t **lock, svn_fs_t *fs, const char *path, apr_pool_t *pool)
svn_error_tsvn_fs_get_locks2 (svn_fs_t *fs, const char *path, svn_depth_t depth, svn_fs_get_locks_callback_t get_locks_func, void *get_locks_baton, apr_pool_t *pool)
SVN_DEPRECATED svn_error_tsvn_fs_get_locks (svn_fs_t *fs, const char *path, svn_fs_get_locks_callback_t get_locks_func, void *get_locks_baton, apr_pool_t *pool)
svn_error_tsvn_fs_print_modules (svn_stringbuf_t *output, apr_pool_t *pool)
svn_error_tsvn_fs_pack (const char *db_path, svn_fs_pack_notify_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool)
svn_error_tsvn_fs_verify (const char *path, apr_hash_t *fs_config, svn_revnum_t start, svn_revnum_t end, svn_fs_progress_notify_func_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool)
svn_error_tsvn_fs_verify_root (svn_fs_root_t *root, apr_pool_t *scratch_pool)

Detailed Description

Interface to the Subversion filesystem.

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ====================================================================

Definition in file svn_fs.h.


Function Documentation

const svn_version_t* svn_fs_version ( void  )

Get libsvn_fs version information.

Since:
New in 1.1.