Subversion
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
svn_patch_t Struct Reference

Data type to manage parsing of patches. More...

#include <svn_diff.h>

Data Fields

const char * old_filename
 The old and new file names as retrieved from the patch file. More...
 
const char * new_filename
 
apr_array_header_t * hunks
 An array containing an svn_diff_hunk_t * for each hunk parsed from the patch. More...
 
apr_hash_t * prop_patches
 A hash table keyed by property names containing svn_prop_patch_t object for each property parsed from the patch. More...
 
svn_diff_operation_kind_t operation
 Represents the operation performed on the file. More...
 
svn_boolean_t reverse
 Indicates whether the patch is being interpreted in reverse. More...
 
svn_mergeinfo_t mergeinfo
 Mergeinfo parsed from svn:mergeinfo diff data, with one entry for forward merges and one for reverse merges. More...
 
svn_mergeinfo_t reverse_mergeinfo
 

Detailed Description

Data type to manage parsing of patches.

API users should not allocate structures of this type directly.

Since
New in 1.7.

Definition at line 1219 of file svn_diff.h.

Field Documentation

apr_array_header_t* svn_patch_t::hunks

An array containing an svn_diff_hunk_t * for each hunk parsed from the patch.

Definition at line 1230 of file svn_diff.h.

svn_mergeinfo_t svn_patch_t::mergeinfo

Mergeinfo parsed from svn:mergeinfo diff data, with one entry for forward merges and one for reverse merges.

Either entry can be NULL if no such merges are part of the diff.

Since
New in 1.9.

Definition at line 1250 of file svn_diff.h.

const char* svn_patch_t::old_filename

The old and new file names as retrieved from the patch file.

These paths are UTF-8 encoded and canonicalized, but otherwise left unchanged from how they appeared in the patch file.

Definition at line 1224 of file svn_diff.h.

svn_diff_operation_kind_t svn_patch_t::operation

Represents the operation performed on the file.

Definition at line 1239 of file svn_diff.h.

apr_hash_t* svn_patch_t::prop_patches

A hash table keyed by property names containing svn_prop_patch_t object for each property parsed from the patch.

Definition at line 1235 of file svn_diff.h.

svn_boolean_t svn_patch_t::reverse

Indicates whether the patch is being interpreted in reverse.

Definition at line 1243 of file svn_diff.h.


The documentation for this struct was generated from the following file: