Subversion
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Translation flags

Flags for use with svn_wc_translated_file2() and svn_wc_translated_stream(). More...

Macros

#define SVN_WC_TRANSLATE_FROM_NF   0x00000000
 Translate from Normal Form. More...
 
#define SVN_WC_TRANSLATE_TO_NF   0x00000001
 Translate to Normal Form. More...
 
#define SVN_WC_TRANSLATE_FORCE_EOL_REPAIR   0x00000002
 Force repair of eol styles, making sure the output file consistently contains the one eol style as specified by the svn:eol-style property and the required translation direction.
 
#define SVN_WC_TRANSLATE_NO_OUTPUT_CLEANUP   0x00000004
 Don't register a pool cleanup to delete the output file.
 
#define SVN_WC_TRANSLATE_FORCE_COPY   0x00000008
 Guarantee a new file is created on successful return. More...
 
#define SVN_WC_TRANSLATE_USE_GLOBAL_TMP   0x00000010
 Use a non-wc-local tmp directory for creating output files, instead of in the working copy admin tmp area which is the default. More...
 

Detailed Description

Flags for use with svn_wc_translated_file2() and svn_wc_translated_stream().

Macro Definition Documentation

#define SVN_WC_TRANSLATE_FORCE_COPY   0x00000008

Guarantee a new file is created on successful return.

The default shortcuts translation by returning the path of the untranslated file when no translation is required.

Definition at line 148 of file svn_wc.h.

#define SVN_WC_TRANSLATE_FROM_NF   0x00000000

Translate from Normal Form.

The working copy text bases and repository files are stored in normal form. Some files' contents - or ever representation - differs between the working copy and the normal form. This flag specifies to take the latter form as input and transform it to the former.

Either this flag or SVN_WC_TRANSLATE_TO_NF should be specified, but not both.

Definition at line 125 of file svn_wc.h.

#define SVN_WC_TRANSLATE_TO_NF   0x00000001

Translate to Normal Form.

Either this flag or SVN_WC_TRANSLATE_FROM_NF should be specified, but not both.

Definition at line 132 of file svn_wc.h.

#define SVN_WC_TRANSLATE_USE_GLOBAL_TMP   0x00000010

Use a non-wc-local tmp directory for creating output files, instead of in the working copy admin tmp area which is the default.

Since
New in 1.4.

Definition at line 155 of file svn_wc.h.