Subversion 1.6.16
Functions

Create directories in a working copy or repository.

Client working copy management

Functions

svn_error_tsvn_client_mkdir3 (svn_commit_info_t **commit_info_p, const apr_array_header_t *paths, svn_boolean_t make_parents, const apr_hash_t *revprop_table, svn_client_ctx_t *ctx, apr_pool_t *pool)
 Create a directory, either in a repository or a working copy.
svn_error_tsvn_client_mkdir2 (svn_commit_info_t **commit_info_p, const apr_array_header_t *paths, svn_client_ctx_t *ctx, apr_pool_t *pool)
 Same as svn_client_mkdir3(), but with make_parents always FALSE, and revprop_table always NULL.
svn_error_tsvn_client_mkdir (svn_client_commit_info_t **commit_info_p, const apr_array_header_t *paths, svn_client_ctx_t *ctx, apr_pool_t *pool)
 Same as svn_client_mkdir2(), but takes the svn_client_commit_info_t type for commit_info_p.

Function Documentation

svn_error_t* svn_client_mkdir ( svn_client_commit_info_t **  commit_info_p,
const apr_array_header_t *  paths,
svn_client_ctx_t ctx,
apr_pool_t *  pool 
)

Same as svn_client_mkdir2(), but takes the svn_client_commit_info_t type for commit_info_p.

Deprecated:
Provided for backward compatibility with the 1.2 API.
svn_error_t* svn_client_mkdir2 ( svn_commit_info_t **  commit_info_p,
const apr_array_header_t *  paths,
svn_client_ctx_t ctx,
apr_pool_t *  pool 
)

Same as svn_client_mkdir3(), but with make_parents always FALSE, and revprop_table always NULL.

Since:
New in 1.3.
Deprecated:
Provided for backward compatibility with the 1.4 API.
svn_error_t* svn_client_mkdir3 ( svn_commit_info_t **  commit_info_p,
const apr_array_header_t *  paths,
svn_boolean_t  make_parents,
const apr_hash_t *  revprop_table,
svn_client_ctx_t ctx,
apr_pool_t *  pool 
)

Create a directory, either in a repository or a working copy.

If paths contains URLs, use the authentication baton in ctx and message to immediately attempt to commit the creation of the directories in paths in the repository. If the commit succeeds, allocate (in pool) and populate *commit_info_p.

Else, create the directories on disk, and attempt to schedule them for addition (using svn_client_add(), whose docstring you should read).

If make_parents is TRUE, create any non-existent parent directories also.

If non-NULL, revprop_table is a hash table holding additional, custom revision properties (const char * names mapped to svn_string_t * values) to be set on the new revision in the event that this is a committing operation. This table cannot contain any standard Subversion properties.

ctx->log_msg_func3/ctx->log_msg_baton3 are a callback/baton combo that this function can use to query for a commit log message when one is needed.

If ctx->notify_func2 is non-NULL, when the directory has been created (successfully) in the working copy, call ctx->notify_func2 with ctx->notify_baton2 and the path of the new directory. Note that this is only called for items added to the working copy.

Since:
New in 1.5.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines