#[repr(C)]pub struct svn_repos_notify_t {
pub action: svn_repos_notify_action_t,
pub revision: svn_revnum_t,
pub warning_str: *const c_char,
pub warning: svn_repos_notify_warning_t,
pub shard: apr_int64_t,
pub new_revision: svn_revnum_t,
pub old_revision: svn_revnum_t,
pub node_action: svn_node_action,
pub path: *const c_char,
pub start_revision: svn_revnum_t,
pub end_revision: svn_revnum_t,
}
Expand description
Structure used by #svn_repos_notify_func_t.
The only field guaranteed to be populated is @c action. Other fields are dependent upon the @c action. (See individual fields for more information.)
@note Callers of notification functions should use svn_repos_notify_create() to create structures of this type to allow for future extensibility.
@since New in 1.7.
Fields§
§action: svn_repos_notify_action_t
Action that describes what happened in the repository.
revision: svn_revnum_t
For #svn_repos_notify_dump_rev_end and #svn_repos_notify_verify_rev_end, the revision which just completed. For #svn_fs_upgrade_format_bumped, the new format version.
warning_str: *const c_char
For #svn_repos_notify_warning, the warning message.
warning: svn_repos_notify_warning_t
For #svn_repos_notify_warning, the warning type.
shard: apr_int64_t
For #svn_repos_notify_pack_shard_start, #svn_repos_notify_pack_shard_end, #svn_repos_notify_pack_revprops, #svn_repos_notify_cleanup_revprops #svn_repos_notify_pack_shard_start_revprop, and #svn_repos_notify_pack_shard_end_revprop, the shard processed.
new_revision: svn_revnum_t
For #svn_repos_notify_load_txn_committed, the revision committed.
old_revision: svn_revnum_t
For #svn_repos_notify_load_txn_committed, the source revision, if different from @a new_revision, otherwise #SVN_INVALID_REVNUM. For #svn_repos_notify_load_txn_start and #svn_repos_notify_load_skipped_rev, the source revision.
node_action: svn_node_action
For #svn_repos_notify_load_node_start, the action being taken on the node.
path: *const c_char
For #svn_repos_notify_load_node_start, the path of the node.
start_revision: svn_revnum_t
For #svn_repos_notify_hotcopy_rev_range, the start of the copied revision range. @since New in 1.9.
end_revision: svn_revnum_t
For #svn_repos_notify_hotcopy_rev_range, the end of the copied revision range (might be the same as @a start_revision). @since New in 1.9.