apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Fogel <kfo...@newton.ch.collab.net>
Subject Re: general comments on even more permissions issues
Date Thu, 14 Feb 2002 22:59:52 GMT
Blair Zajac <blair@orcaware.com> writes:
> 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

Mime
View raw message