streamly-filepath
Safe HaskellNone
LanguageHaskell2010

Streamly.Compat.OsPath

Synopsis

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.

toPath :: MonadThrow m => OsPath -> m Path Source #

Adapt an OsPath type to the streamly Path type at zero cost.

fromPath :: Path -> OsPath Source #

Adapt a Streamly Path type to OsPath type at zero cost.