| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
System.AbstractFilePath.Types
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.
Constructors
| WS ShortByteString |
Instances
newtype PosixString Source #
Commonly used Posix string as uninterpreted char[]
array.
Constructors
| PS ShortByteString |
Instances
newtype WindowsChar Source #
Instances
Instances
| Eq PosixChar Source # | |
| Ord PosixChar Source # | |
| Show PosixChar Source # | |
| Generic PosixChar Source # | |
| NFData PosixChar Source # | |
Defined in System.OsString.Internal.Types | |
| type Rep PosixChar Source # | |
Defined in System.OsString.Internal.Types | |