Descriptionos: os.RemoveAll has to check for 2 error codes on Windows. ENOENT is not enough.
os.Lstat can return ENOTDIR as well.
Patch Set 1 #Patch Set 2 : diff -r 2a748f320ba5 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 2a748f320ba5 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 2a748f320ba5 https://go.googlecode.com/hg/ #
MessagesTotal messages: 9
|