| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Streamly.Compat.OsPath
Synopsis
- unsafeToPath :: OsPath -> Path
- toPath :: MonadThrow m => OsPath -> m Path
- fromPath :: Path -> OsPath
Documentation
unsafeToPath :: OsPath -> Path Source #
Adapt an OsPath type to the streamly Path type at zero cost.
Unsafe: The user is responsible to make sure that the OsPath is valid as
per validatePath.