| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
GHC.Data.OsPath
Synopsis
- type OsPath = OsString
- data OsString
- encodeUtf :: MonadThrow m => FilePath -> m OsPath
- decodeUtf :: MonadThrow m => OsPath -> m FilePath
- unsafeDecodeUtf :: HasCallStack => OsPath -> FilePath
- unsafeEncodeUtf :: HasCallStack => String -> OsString
- os :: String -> OsString
- (</>) :: OsPath -> OsPath -> OsPath
- (<.>) :: OsPath -> OsString -> OsPath
OsPath initialisation and transformation
Instances
| NFData OsString # | |||||
Defined in System.OsString.Internal.Types | |||||
| Monoid OsString # | |||||
| Semigroup OsString # | |||||
| Generic OsString # | |||||
Defined in System.OsString.Internal.Types Associated Types
| |||||
| Show OsString # | |||||
| Eq OsString # | |||||
| Ord OsString # | |||||
Defined in System.OsString.Internal.Types | |||||
| Lift OsString # | |||||
| type Rep OsString # | |||||
Defined in System.OsString.Internal.Types | |||||
unsafeDecodeUtf :: HasCallStack => OsPath -> FilePath Source #
unsafeEncodeUtf :: HasCallStack => String -> OsString #