# Translation flags
[Working copy management]

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

## Defines
#define | SVN_WC_TRANSLATE_FROM_NF 0x00000000
| Translate from Normal Form.
#define | SVN_WC_TRANSLATE_TO_NF 0x00000001
| Translate to Normal Form.
#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.
#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.

## Detailed Description

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

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

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines