git-annex/Utility/Path
Joey Hess 7eb54bad12
fix prop_relPathDirToFileAbs_basics fail on windows
It was just slapping on a path separator to the front of the path to
make it absolute, but on windows, a path like "//foo/bar" actually
has a network "drive" of "//foo" and so that broke the test case.

Since "a:foo" is a somehow relative path on windows
(who knows how), drop any drive from the input. But dropDrive also drops
any leading path separator, making the input path relative. So now
it should be safe to slapp on a leading path separator.
2021-01-18 13:26:10 -04:00
..
AbsRel.hs got configure working after Utility.Path ByteString conversion 2020-10-28 15:01:19 -04:00
Max.hs explict export lists 2019-11-21 16:08:37 -04:00
Tests.hs fix prop_relPathDirToFileAbs_basics fail on windows 2021-01-18 13:26:10 -04:00