Subversion
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.
const char * new_filename
apr_array_header_t * hunks
 An array containing an svn_diff_hunk_t object for each hunk parsed from the patch.
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.
svn_diff_operation_kind_t operation
 Represents the operation performed on the file.
svn_boolean_t reverse
 Indicates whether the patch is being interpreted in reverse.

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 1038 of file svn_diff.h.


Field Documentation

apr_array_header_t* svn_patch_t::hunks

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

Definition at line 1049 of file svn_diff.h.

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 1043 of file svn_diff.h.

Represents the operation performed on the file.

Definition at line 1058 of file svn_diff.h.

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

Definition at line 1054 of file svn_diff.h.

Indicates whether the patch is being interpreted in reverse.

Definition at line 1062 of file svn_diff.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines