git-annex/Utility/Path
Joey Hess 505f1a654b
avoid using Utility.Path.AbsRel in Utility.Path.Windows
AbsRel depends on unix, but Utility.Path.Windows will be used in some
libraries that are part of the setup-depends, which cannot depend on
unix.

The only reason that AbsRel uses getWorkingDirectory on unix is that
it returns RawFilePath. getCurrentDirectory returns FilePath and so
needs a conversion to RawFilePath. Looks like a newer version of
directory will fix that, by using OsPath, so eventually AbsPath should
be able to switch to using getCurrentDirectory on unix, and then the
small code duplication in this commit won't be needed.

Sponsored-by: Dartmouth College's Datalad project
2023-03-01 14:01:33 -04:00
..
AbsRel.hs fileRef: make paths relative and simplified 2021-05-07 13:25:59 -04:00
Max.hs explict export lists 2019-11-21 16:08:37 -04:00
Tests.hs fix quickcheck test on windows 2022-03-22 13:53:55 -04:00
Windows.hs avoid using Utility.Path.AbsRel in Utility.Path.Windows 2023-03-01 14:01:33 -04:00