[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1041102 - /subversion/trunk/subversion/include/svn_io.h

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Thu, 02 Dec 2010 11:41:59 +0000

On Thu, 2010-12-02, Daniel Shahaf wrote:
> julianfoad_at_apache.org wrote on Wed, Dec 01, 2010 at 17:44:50 -0000:
> > -/** Copy file @a file from location @a src_path to location @a dest_path.
> > - * Use @a pool for memory allocations.
> > +/** Copy the file whose basename or relative path is @a file within
> > + * directory @a src_path to the same basename or relative path within
> > + * directory @a dest_path. Overwrite the destination if it already
>
> If you allow relative paths as input for @a file, then shouldn't the
> docstring say whether or not this creates intermediate directories?
>
> Example: svn_io_dir_file_copy('A/B', 'A/C', 'E/alpha', NULL).

r1041336. Thanks.

- Julian

> > + * exists. Set the destination file's permissions to match those of
> > + * the source. Use @a pool for memory allocations.
> > */
> > svn_error_t *
> > svn_io_dir_file_copy(const char *src_path,
> > const char *dest_path,
> > const char *file,
> > apr_pool_t *pool)
> >
> >
Received on 2010-12-02 12:42:40 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.