From: Dylan Nicholson (dylan_nicholson_at_[hidden])
Date: 2002-03-21 17:43:55
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).
http://movies.yahoo.com.au - Yahoo! Movies
- Vote for your nominees in our online Oscars pool.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk