|
Boost : |
From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-03-21 20:41:52
At 05:43 PM 3/21/2002, Dylan Nicholson wrote:
>Just jumping in with an idea.
>
>Perhaps a good command to model remove on is the POSIX rm shell command.
>rm on its own treats non-existence as an error.
>rm -f however doesn't. Maybe we need the equivalent of a 'force' option
to
>remove, or a force_remove, that deletes files even if they are read-only
>(assuming they can be made deletable), and ignores non-existence.
>
>In fact in general there is much to be said for modelling a filesystem
>library on POSIX shell commands (as well as the POSIX system calls,
>although in general they aren't nearly as powerful).
I'll take a look. Bedtime reading.
Thanks,
--Beman
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk