You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Scott Greig <sg...@altair.com> on 2006/08/29 15:55:15 UTC

Recursive apr_dir_remove?

I'm looking for a way to remove a directory and it's contents like "rm
-rf".  

Are there any plans to add support for a recursive apr_dir_remove?

Just thought I'd check before I create my own.

Thanks
- Scott

Re: Recursive apr_dir_remove?

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 8/29/06, Scott Greig <sg...@altair.com> wrote:
> I'm looking for a way to remove a directory and it's contents like "rm
> -rf".
>
> Are there any plans to add support for a recursive apr_dir_remove?
>
> Just thought I'd check before I create my own.

I don't know if any such plans exist, but there's at least one
implementation out there (svn_io_dir_remove, from Subversion) that's
built on top of APR.  I personally wouldn't mind seeing something
similar in APR itself.

-garrett