GME
13
|
#include <svn_wc.h>
Public Attributes | |
const char * | path |
svn_wc_notify_action_t | action |
svn_node_kind_t | kind |
const char * | mime_type |
const svn_lock_t * | lock |
svn_error_t * | err |
svn_wc_notify_state_t | content_state |
svn_wc_notify_state_t | prop_state |
svn_wc_notify_lock_state_t | lock_state |
svn_revnum_t | revision |
const char * | changelist_name |
svn_merge_range_t * | merge_range |
const char * | url |
const char * | path_prefix |
const char * | prop_name |
apr_hash_t * | rev_props |
svn_revnum_t | old_revision |
svn_linenum_t | hunk_matched_line |
svn_linenum_t | hunk_fuzz |
svn_linenum_t | hunk_original_start |
svn_linenum_t | hunk_original_length |
svn_linenum_t | hunk_modified_start |
svn_linenum_t | hunk_modified_length |
Structure used in the svn_wc_notify_func2_t function.
kind
, content_state
, prop_state
and lock_state
are from after action
, not before.
action
is svn_wc_notify_update_completed, then path
has already been installed, so it is legitimate for an implementation of svn_wc_notify_func2_t to examine path
in the working copy.kind
, mime_type
, content_state
, and prop_state
fields is to provide "for free" information that an implementation is likely to want, and which it would otherwise be forced to deduce via expensive operations such as reading entries and properties. However, if the caller does not have this information, it will simply pass the corresponding `*_unknown' values, and it is up to the implementation how to handle that (i.e., whether to attempt deduction, or just to punt and give a less informative notification).Action that describes what happened to svn_wc_notify_t.path.
const char* svn_wc_notify_t::changelist_name |
Points to an error describing the reason for the failure when action
is one of the following: svn_wc_notify_failed_lock, svn_wc_notify_failed_unlock, svn_wc_notify_failed_external. Is NULL
otherwise.
const svn_lock_t* svn_wc_notify_t::lock |
Points to the lock structure received from the repository when action
is svn_wc_notify_locked. For other actions, it is NULL
.
When action
is svn_wc_notify_merge_begin or svn_wc_notify_foreign_merge_begin or svn_wc_notify_merge_record_info_begin, and both the left and right sides of the merge are from the same URL. In all other cases, it is NULL
.
const char* svn_wc_notify_t::mime_type |
If action
is svn_wc_notify_update_update or svn_wc_notify_update_add, contains the revision before the update. In all other cases, it is SVN_INVALID_REVNUM.
const char* svn_wc_notify_t::path |
const char* svn_wc_notify_t::path_prefix |
const char* svn_wc_notify_t::prop_name |
If action
is svn_wc_notify_blame_revision, contains a list of revision properties for the specified revision
When action
is svn_wc_notify_update_completed, target revision of the update, or SVN_INVALID_REVNUM if not available; when action
is svn_wc_notify_blame_revision, processed revision; Since Subversion 1.7 when action is svn_wc_notify_update_update or svn_wc_notify_update_add, the target revision. In all other cases, it is SVN_INVALID_REVNUM.
const char* svn_wc_notify_t::url |