rawfilepath 1.0.0 → 1.0.1
raw patch · 4 files changed
+4/−9 lines, 4 filesdep ~base
Dependency ranges changed: base
Files
- README.md +2/−0
- rawfilepath.cabal +1/−1
- src/RawFilePath/Import.hs +0/−8
- src/RawFilePath/Process/Common.hs +1/−0
README.md view
@@ -1,5 +1,7 @@ # rawfilepath +Version: 1.0.1+ The `unix` package provides `RawFilePath` which is a type synonym of `ByteString`. Unlike `FilePath` (which is `String`), it has no performance issues because it is `ByteString`. It has no encoding issues because it is `ByteString` which is a sequence of bytes instead of characters. That's all good. With `RawFilePath`, we can properly separate the "sequence of bytes" and the "sequence of Unicode characters." The control is yours. Properly encode or decode them with UTF-8 or UTF-16 or any codec of your choice.
rawfilepath.cabal view
@@ -1,5 +1,5 @@ name: rawfilepath-version: 1.0.0+version: 1.0.1 synopsis: Use RawFilePath instead of FilePath description: Please see README.md homepage: https://github.com/xtendo-org/rawfilepath#readme
src/RawFilePath/Import.hs view
@@ -20,14 +20,6 @@ import GHC.IO.Device as Module hiding (close, getEcho, setEcho, Directory) import GHC.IO.Encoding as Module import GHC.IO.Exception as Module-import GHC.IO.Handle.FD as Module hiding- ( fdToHandle- , openBinaryFile- , openFile- , stderr- , stdin- , stdout- ) import GHC.IO.Handle.Internals as Module import GHC.IO.Handle.Types as Module import GHC.IO.IOMode as Module
src/RawFilePath/Process/Common.hs view
@@ -30,6 +30,7 @@ -- extra modules +import GHC.IO.Handle.FD as Module (mkHandleFromFD) import System.Posix.Internals (FD) import qualified GHC.IO.FD as FD