fix removeLink on windows
authorJoey Hess <joeyh@joeyh.name>
Thu, 19 Nov 2020 16:20:18 +0000 (12:20 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 19 Nov 2020 16:20:18 +0000 (12:20 -0400)
commit9cb250f7be21a8f5b15454df4fb67bfd1811e39d
treec8b9c89fe0e1f342aac18398c66e5e83a81f23e0
parentc3be0c8dd2a558e6d4c39a09147f46b196fd588f
fix removeLink on windows

This removeLink was introduced in commit
e505c03bccdc6567cd517a6ddaf70a411489473d, which replaced code
that used removeFile on Windows. So, I know git-annex did not used to do
anything other than removeFile on Windows. If there were symlinks it
wanted to remove, this would not work on windows, but of course it does
not use symlinks on windows.
Utility/RawFilePath.hs