git-annex/Remote/Helper
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
..
Chunked filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
AWS.hs remove read of the heads 2024-09-26 18:43:59 -04:00
Chunked.hs fix reversion in getting from unchunked encrypted special remotes 2024-10-28 12:20:10 -04:00
Encryptable.hs prevent using git-remote-annex with unsuitable special remote configs 2024-05-14 13:52:20 -04:00
ExportImport.hs proxied exporttree=yes versionedexport=yes remotes are not untrusted 2024-08-08 15:24:19 -04:00
Git.hs RawFilePath conversion of System.Directory 2025-01-20 19:17:33 -04:00
Hooks.hs toward SafeDropProof expiry checking 2024-07-04 12:39:06 -04:00
Http.hs git-lfs gitlab interoperability fix 2021-11-10 13:51:11 -04:00
Messages.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
P2P.hs plumb in LiveUpdate (WIP) 2024-08-23 16:35:12 -04:00
Path.hs implement Unavilable for borg bup ddar directory rsync 2023-08-16 15:48:09 -04:00
ReadOnly.hs toward SafeDropProof expiry checking 2024-07-04 12:39:06 -04:00
Special.hs stream through proxy when using fileRetriever 2024-10-15 14:29:06 -04:00
Ssh.hs fix http proxying for a local git remote with a relative path 2024-07-28 13:35:51 -04:00
ThirdPartyPopulated.hs ImportableContentsChunkable 2021-10-08 13:15:22 -04:00