diff options
author | Joey Hess <joeyh@joeyh.name> | 2019-12-09 13:49:05 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2019-12-09 15:07:21 -0400 |
commit | bdec7fed9cae4fe5c3cbdf0ee2ee6ae8530bbc19 (patch) | |
tree | b8ca2b1bc16170c616a7c8404fae22c0b859c235 /P2P | |
parent | a7004375ec381b6b2f8ce114a5e24c764ef4fdfd (diff) |
convert TopFilePath to use RawFilePath
Adds a dependency on filepath-bytestring, an as yet unreleased fork of
filepath that operates on RawFilePath.
Git.Repo also changed to use RawFilePath for the path to the repo.
This does eliminate some RawFilePath -> FilePath -> RawFilePath
conversions. And filepath-bytestring's </> is probably faster.
But I don't expect a major performance improvement from this.
This is mostly groundwork for making Annex.Location use RawFilePath,
which will allow for a conversion-free pipleline.
Diffstat (limited to 'P2P')
-rw-r--r-- | P2P/IO.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -293,7 +293,7 @@ runRelayService conn runner service = serviceproc = gitCreateProcess [ Param cmd - , File (repoPath (connRepo conn)) + , File (fromRawFilePath (repoPath (connRepo conn))) ] (connRepo conn) setup = do |