#[repr(C)]pub struct svn_fs_path_change3_t {
pub path: svn_string_t,
pub change_kind: svn_fs_path_change_kind_t,
pub node_kind: svn_node_kind_t,
pub text_mod: svn_boolean_t,
pub prop_mod: svn_boolean_t,
pub mergeinfo_mod: svn_tristate_t,
pub copyfrom_known: svn_boolean_t,
pub copyfrom_rev: svn_revnum_t,
pub copyfrom_path: *const c_char,
}
Expand description
Change descriptor.
@note Fields may be added to the end of this structure in future versions. Therefore, to preserve binary compatibility, users should not directly allocate structures of this type.
@note The @c text_mod, @c prop_mod and @c mergeinfo_mod flags mean the text, properties and mergeinfo property (respectively) were “touched” by the commit API; this does not mean the new value is different from the old value.
@since New in 1.10.
Fields§
§path: svn_string_t
path of the node that got changed.
change_kind: svn_fs_path_change_kind_t
kind of change
node_kind: svn_node_kind_t
what node kind is the path? (Note: it is legal for this to be #svn_node_unknown.)
text_mod: svn_boolean_t
was the text touched? For node_kind=dir: always false. For node_kind=file: modify: true iff text touched. add (copy): true iff text touched. add (plain): always true. delete: always false. replace: as for the add/copy part of the replacement.
prop_mod: svn_boolean_t
were the properties touched? modify: true iff props touched. add (copy): true iff props touched. add (plain): true iff props touched. delete: always false. replace: as for the add/copy part of the replacement.
mergeinfo_mod: svn_tristate_t
was the mergeinfo property touched? modify: } true iff svn:mergeinfo property add/del/mod add (copy): } and fs format supports this flag. add (plain): } delete: always false. replace: as for the add/copy part of the replacement. (Note: Pre-1.9 repositories will report #svn_tristate_unknown.)
copyfrom_known: svn_boolean_t
Copyfrom revision and path; this is only valid if copyfrom_known is true.
copyfrom_rev: svn_revnum_t
§copyfrom_path: *const c_char