pub unsafe extern "C" fn svn_wc_translated_stream(
stream: *mut *mut svn_stream_t,
path: *const c_char,
versioned_file: *const c_char,
adm_access: *mut svn_wc_adm_access_t,
flags: apr_uint32_t,
pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Returns a @a stream allocated in @a pool with access to the given @a path taking the file properties from @a versioned_file using @a adm_access.
If @a flags includes #SVN_WC_TRANSLATE_FROM_NF, the stream will translate from Normal Form to working copy form while writing to @a path; stream read operations are not supported. Conversely, if @a flags includes #SVN_WC_TRANSLATE_TO_NF, the stream will translate from working copy form to Normal Form while reading from @a path; stream write operations are not supported.
The @a flags are the same constants as those used for svn_wc_translated_file2().
@since New in 1.5. @deprecated Provided for compatibility with the 1.6 API.