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...
 

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 1052 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 1063 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 1057 of file svn_diff.h.

svn_diff_operation_kind_t svn_patch_t::operation

Represents the operation performed on the file.

Definition at line 1072 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 1068 of file svn_diff.h.

svn_boolean_t svn_patch_t::reverse

Indicates whether the patch is being interpreted in reverse.

Definition at line 1076 of file svn_diff.h.


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