Closed avieth closed 6 years ago
hinotify
switched to RawFilePath
in 11c4d31a95ad36f954fac6728e47042a92e4466a, quite a while ago, and there was a new hackage release a few days ago that uses RawFilePath
. Previously, it was using GHC.IO.Encoding.getFileSystemEncoding
together with GHC.Foreign.withCString
to convert from ByteString
to FilePath
. Now that hinotify
is no longer doing that decoding, should hsnotify
start doing it for newer versions of hinotify
?
In short, what is to be done about the filename encoding?
This issue is blocking the inclusion of fsnotify
in stackage nightly.
hinotify
now usesByteString
rather than[Char]
for file paths (RawFilePath
).https://github.com/kolmodin/hinotify/issues/19 https://github.com/kolmodin/hinotify/commit/106930cae1bc8dc8ab6041816c11eafa72387cfe
Somehow this didn't make it into the changelog for that package.because it's not yet released :)