use ByteStrings when reading annex symlinks and pointers
authorJoey Hess <joeyh@joeyh.name>
Mon, 14 Jan 2019 19:19:20 +0000 (15:19 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 14 Jan 2019 19:37:08 +0000 (15:37 -0400)
commit5d98cba923e541be4dc9fd36f5f3c4a37b465bf1
tree99b1b16aaea227da236be78e88d84e2a8ea11809
parent0a8d93cb8ae0701d15bb40a149af5a540eeec314
use ByteStrings when reading annex symlinks and pointers

Now there's a ByteString used all the way from disk to Key.

The main complication in this conversion was the use of fromInternalGitPath
in several places to munge things on Windows. The things that used that
were changed to parse the ByteString using either path separator.

Also some code that had read from files to a String lazily was changed
to read a minimal strict ByteString.
Annex/CatFile.hs
Annex/Link.hs
Assistant/Threads/Watcher.hs
Command/DiffDriver.hs
Command/Fsck.hs
Command/Smudge.hs
Upgrade/V1.hs
Upgrade/V5.hs
Utility/RawFilePath.hs [new file with mode: 0644]
git-annex.cabal