svn_opt_args_to_target_array3

Function svn_opt_args_to_target_array3 

Source
pub unsafe extern "C" fn svn_opt_args_to_target_array3(
    targets_p: *mut *mut apr_array_header_t,
    os: *mut apr_getopt_t,
    known_targets: *const apr_array_header_t,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Pull remaining target arguments from @a os into @a *targets_p, converting them to UTF-8, followed by targets from @a known_targets (which might come from, for example, the “–targets” command line option), which are already in UTF-8.

On each URL target, do some IRI-to-URI encoding and some auto-escaping. On each local path, canonicalize case and path separators.

Allocate @a *targets_p and its elements in @a pool.

If a path has the same name as a Subversion working copy administrative directory, return SVN_ERR_RESERVED_FILENAME_SPECIFIED; if multiple reserved paths are encountered, return a chain of errors, all of which are SVN_ERR_RESERVED_FILENAME_SPECIFIED. Do not return this type of error in a chain with any other type of error, and if this is the only type of error encountered, complete the operation before returning the error(s).

@deprecated Provided for backward compatibility with the 1.5 API. @see svn_client_args_to_target_array()