update
This commit is contained in:
parent
fbdf640b09
commit
8d80b07f5a
1 changed files with 3 additions and 2 deletions
|
@ -12,10 +12,11 @@ status.
|
||||||
libraries like directory now have versions that operate on
|
libraries like directory now have versions that operate on
|
||||||
OSPath. That could be used in git-annex eg for things like
|
OSPath. That could be used in git-annex eg for things like
|
||||||
getDirectoryContents, when built against those versions.
|
getDirectoryContents, when built against those versions.
|
||||||
|
(OSPath uses ShortByteString, while RawFilePath is ByteString, so
|
||||||
|
conversion still entails a copy, eg using
|
||||||
|
`System.OsString.Internal.fromBytes`)
|
||||||
* unix has modules that operate on RawFilePath but no OSPath versions yet.
|
* unix has modules that operate on RawFilePath but no OSPath versions yet.
|
||||||
See https://github.com/haskell/unix/issues/240
|
See https://github.com/haskell/unix/issues/240
|
||||||
(OSPath uses ShortByteString, while RawFilePath is ByteString, so
|
|
||||||
conversion can entail a copy.)
|
|
||||||
* filepath-1.4.100 implements support for OSPath. It is bundled with
|
* filepath-1.4.100 implements support for OSPath. It is bundled with
|
||||||
ghc-9.6.1 and above. Will need to switch from filepath-bytestring to
|
ghc-9.6.1 and above. Will need to switch from filepath-bytestring to
|
||||||
this, and to avoid a lot of ifdefs, probably only after git-annex no
|
this, and to avoid a lot of ifdefs, probably only after git-annex no
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue