Closed Parent5446 closed 11 years ago
rm currently deletes anything, because the API doesn't care. rm should check if it's a directory, and refuse to delete it without the -r command. Also, there should be rmdir to remove empty directories.
rm currently deletes anything, because the API doesn't care. rm should check if it's a directory, and refuse to delete it without the -r command. Also, there should be rmdir to remove empty directories.