git-annex/Build
Joey Hess 1ceece3108
RawFilePath conversion of System.Directory
By using System.Directory.OsPath, which takes and returns OsString,
which is a ShortByteString. So, things like dirContents currently have the
overhead of copying that to a ByteString, but that should be less than
the overhead of using Strings which often in turn were converted to
RawFilePaths.

Added Utility.OsString and the OsString build flag. That flag is turned
on in the stack.yaml, and will be turned on automatically by cabal when
built with new enough libraries. The stack.yaml change is a bit ugly,
and that could be reverted for now if it causes any problems.

Note that Utility.OsString.toOsString on windows is avoiding only a
check of encoding that is documented as being unlikely to fail. I don't
think it can fail in git-annex; if it could, git-annex didn't contain
such an encoding check before, so at worst that should be a wash.
2025-01-20 19:17:33 -04:00
..
BuildVersion.hs type signature 2018-08-04 14:21:30 -04:00
BundledPrograms.hs remove dead code 2023-08-28 12:34:24 -04:00
collect-ghc-options.sh Makefile: Pass LDFLAGS, CFLAGS, and CPPFLAGS through ghc and on to ld, cc, and cpp. 2015-08-19 13:53:57 -04:00
Configure.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
DesktopFile.hs run codespell throughout fixing typos automagically 2024-05-01 15:46:21 -04:00
DistributionUpdate.hs remove i386ancient and need at least debian stable to build 2025-01-01 14:15:55 -04:00
InstallDesktopFile.hs run codespell throughout fixing typos automagically 2024-05-01 15:46:21 -04:00
LinuxMkLibs.hs RawFilePath conversion of System.Directory 2025-01-20 19:17:33 -04:00
MakeMans.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Mans.hs deal with cabal unpack not preserving execute bit 2021-02-08 14:32:24 -04:00
mdwn2man fix formatting of \ continued shell examples in man pages 2023-07-13 19:55:38 -04:00
NullSoftInstaller.hs Windows: Correct the path to the html help file for 64 bit build. 2021-02-24 13:19:42 -04:00
OSXMkLibs.hs Stop bundling curl in the OSX dmg 2023-08-15 14:21:53 -04:00
Standalone.hs add git-remote-annex stub and build machinery 2024-05-06 13:05:58 -04:00
TestConfig.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Version.hs use unshorted hash in version 2023-09-20 09:31:59 -04:00