Closed nandagopalan closed 1 year ago
The current VFile interface defines a function Delete() that is supposed to delete file or directory. However this is confusing to use.
If it s a directory call the resolvedFile.DeleteAll() If its a File call resolvedFile.Delete()
Can we do like call the Delete() fnc and inside that if we check whether the location is a directory or not?
If it's a directory then invoke DeleteAll() and delete the directory Otherwise delete the file
The current VFile interface defines a function Delete() that is supposed to delete file or directory. However this is confusing to use.