git-annex/Config
Joey Hess 793ddecd4b
use openTempFile from file-io
And follow-on changes.

Note that relatedTemplate was changed to operate on a RawFilePath, and
so when it counts the length, it is now the number of bytes, not the
number of code points. This will just make it truncate shorter strings
in some cases, the truncation is still unicode aware.

When not building with the OsPath flag, toOsPath . fromRawFilePath and
fromRawFilePath . fromOsPath do extra conversions back and forth between
String and ByteString. That overhead could be avoided, but that's the
non-optimised build mode, so didn't bother.

Sponsored-by: unqueued
2025-01-22 11:41:43 -04:00
..
Files use openTempFile from file-io 2025-01-22 11:41:43 -04:00
Cost.hs fix all remaining -Wincomplete-uni-patterns warnings 2020-04-15 13:55:08 -04:00
DynamicConfig.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Files.hs rename and refactor 2020-12-14 12:32:21 -04:00
GitConfig.hs rename Configurable for clarity 2020-09-16 11:16:48 -04:00
Smudge.hs use status --ignore-submodules in configureSmudgeFilter 2022-12-20 16:02:42 -04:00