[Issue 15102] Unified function to remove files/directories

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Oct 15 10:40:54 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=15102

Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com

--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
Why? This corresponds to neither how the OS APIs work nor how it's done in the
shell - there are separate commands to remove a file, directory or a directory
and its contents.

If the program created a file/directory, it should already know what sort of
filesystem object it is. I can't think of many situations where this would be
useful.

--


More information about the Digitalmars-d-bugs mailing list