Aug-07-2017, 11:07 AM
I have a piece of code that used to copy a file before processing it. Now, there is no such need because file is provided right into place such that src and destination are the same now and the copy operation fails. Why is it considered an error rather than "do nothing" situation?
I guess that I can work around by copying the file into another location such that second copy operation will copy it back. Are there better workarounds?
I guess that I can work around by copying the file into another location such that second copy operation will copy it back. Are there better workarounds?