git-annex/Types
Joey Hess 2ff716be30
OsPath build flag no longer depends on filepath-bytestring
However, filepath-bytestring is still in Setup-Depends.
That's because Utility.OsPath uses it when not built with OsPath.
It would be maybe possible to make Utility.OsPath fall back to using
filepath, and eliminate that dependency too, but it would mean either
wrapping all of System.FilePath's functions, or using `type OsPath = FilePath`

Annex.Import uses ifdefs to avoid converting back to FilePath when not
on windows. On windows it's a bit slower due to that conversion.
Utility.Path.Windows.convertToWindowsNativeNamespace got a bit
slower too, but not really worth optimising I think.

Note that importing Utility.FileSystemEncoding at the same time as
System.Posix.ByteString will result in conflicting definitions for
RawFilePath. filepath-bytestring avoids that by importing RawFilePath
from System.Posix.ByteString, but that's not possible in
Utility.FileSystemEncoding, since Setup-Depends does not include unix.
This turned out not to affect any code in git-annex though.

Sponsored-by: Leon Schuermann
2025-02-10 16:39:55 -04:00
..
ActionItem.hs more OsPath conversion 2025-01-28 15:46:00 -04:00
AdjustedBranch.hs better name for LinkPresentAdjustment 2024-10-21 15:42:01 -04:00
Availability.hs let Remote.availability return Unavilable 2023-08-16 14:31:31 -04:00
Backend.hs more OsPath conversion 2025-01-29 11:53:20 -04:00
Benchmark.hs
BranchState.hs more OsPath conversion 2025-01-27 16:55:07 -04:00
CatFileHandles.hs
CleanupActions.hs
Cluster.hs remove dead nodes when loading the cluster log 2024-06-16 14:39:44 -04:00
Command.hs git-annex-shell: accept uuid of remote that proxying is enabled for 2024-06-10 12:44:35 -04:00
Concurrency.hs
Creds.hs
Crypto.hs support annex.shared-sop-command for encryption=shared 2024-01-12 13:31:18 -04:00
DeferredParse.hs
DesktopNotify.hs
Difference.hs implemented cloneSimRepo 2024-09-06 14:23:29 -04:00
Direction.hs more OsPath conversion 2025-02-01 11:54:19 -04:00
Distribution.hs convert from readFileStrict 2025-01-22 16:20:36 -04:00
Export.hs OsPath conversion 2025-01-25 11:53:47 -04:00
FileMatcher.hs more OsPath conversion (520/749) 2025-02-05 15:07:59 -04:00
GitConfig.hs OsPath build flag no longer depends on filepath-bytestring 2025-02-10 16:39:55 -04:00
GitRemoteAnnex.hs avoid duplicates building up in outManifest 2024-05-24 15:10:56 -04:00
Group.hs git-annex sim command is working 2024-09-12 16:10:52 -04:00
Import.hs more OsPath conversion (650/749) 2025-02-07 17:03:31 -04:00
IndexFiles.hs
Key.hs more OsPath conversion 2025-01-28 15:46:00 -04:00
KeySource.hs more OsPath conversion 2025-01-29 11:53:20 -04:00
Link.hs
LockCache.hs more OsPath conversion 2025-01-30 15:46:32 -04:00
Messages.hs
MetaData.hs sim: Add metadata command 2024-09-26 12:20:37 -04:00
Mime.hs
NumCopies.hs git-annex sim command is working 2024-09-12 16:10:52 -04:00
ProposedAccepted.hs
RefSpec.hs
Remote.hs more OsPath conversion (464/749) 2025-02-04 13:35:17 -04:00
RemoteConfig.hs git-remote-annex: Display full url when using remote with the shorthand url 2024-05-24 17:15:31 -04:00
RemoteState.hs
RepoSize.hs sim: Fix size tracking for balanced preferred content 2024-09-23 12:42:32 -04:00
RepoVersion.hs
ScheduledActivity.hs
StallDetection.hs run codespell throughout fixing typos automagically 2024-05-01 15:46:21 -04:00
StandardGroups.hs
StoreRetrieve.hs more OsPath conversion 2025-02-01 14:06:38 -04:00
Test.hs
Transfer.hs more OsPath conversion 2025-01-28 15:46:00 -04:00
Transferrer.hs more OsPath conversion 2025-01-28 16:31:19 -04:00
TransferrerPool.hs
Transitions.hs more OsPath conversion 2025-02-01 11:54:19 -04:00
TrustLevel.hs git-annex sim command is working 2024-09-12 16:10:52 -04:00
Upgrade.hs
UrlContents.hs more OsPath conversion 2025-02-04 16:09:47 -04:00
UUID.hs more OsPath conversion (602/749) 2025-02-07 14:46:11 -04:00
VectorClock.hs
View.hs
WorkerPool.hs