Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type AbstractFilePath = OsString
- type PlatformFilePath = PosixFilePath
- type PosixFilePath = PosixString
- type WindowsFilePath = WindowsString
- unWFP :: WindowsString -> ShortByteString
- unPFP :: PosixString -> ShortByteString
- unWW :: WindowsChar -> Word16
- unPW :: PosixChar -> Word8
- newtype WindowsString = WS ShortByteString
- newtype PosixString = PS ShortByteString
- newtype WindowsChar = WW Word16
- newtype PosixChar = PW Word8
Documentation
type AbstractFilePath = OsString Source #
Type representing filenames/pathnames.
This type doesn't add any guarantees over OsString
.
type PlatformFilePath = PosixFilePath Source #
type PosixFilePath = PosixString Source #
Filepaths are char[]
data on unix as passed to syscalls.
type WindowsFilePath = WindowsString Source #
Filepaths are UTF16 data on windows as passed to syscalls.
unWFP :: WindowsString -> ShortByteString Source #
unPFP :: PosixString -> ShortByteString Source #
unWW :: WindowsChar -> Word16 Source #
newtype WindowsString Source #
Commonly used windows string as UTF16 bytes.
Instances
newtype PosixString Source #
Commonly used Posix string as uninterpreted char[]
array.
Instances
newtype WindowsChar Source #