This would get my +1!

> > What about having a function that recursively walks the directory
> > structure and just calls a supplied callback function with the file
> > name.  This looks like a simple way to implement this and it could
> > easily belong in APR.
> 
> That would be great!  And then apr_dir_remove_recursively() could be
> implemented in terms of such a function (it would have to promise to
> invoke the callbacks on leaf nodes, and then empty dirs, drawing up
> toward the root of the tree, I guess).
> 
> CC'ing the APR list for reactions.
> 
> -Karl

Reply via email to