| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Effectful.FileSystem.IO.File
Description
Lifted UnliftIO.IO.File.
Synopsis
- writeBinaryFile :: forall (es :: [Effect]). FileSystem :> es => FilePath -> ByteString -> Eff es ()
- writeBinaryFileAtomic :: forall (es :: [Effect]). FileSystem :> es => FilePath -> ByteString -> Eff es ()
- writeBinaryFileDurable :: forall (es :: [Effect]). FileSystem :> es => FilePath -> ByteString -> Eff es ()
- writeBinaryFileDurableAtomic :: forall (es :: [Effect]). FileSystem :> es => FilePath -> ByteString -> Eff es ()
- withBinaryFile :: forall (es :: [Effect]) a. FileSystem :> es => FilePath -> IOMode -> (Handle -> Eff es a) -> Eff es a
- withBinaryFileAtomic :: forall (es :: [Effect]) a. FileSystem :> es => FilePath -> IOMode -> (Handle -> Eff es a) -> Eff es a
- withBinaryFileDurable :: forall (es :: [Effect]) a. FileSystem :> es => FilePath -> IOMode -> (Handle -> Eff es a) -> Eff es a
- withBinaryFileDurableAtomic :: forall (es :: [Effect]) a. FileSystem :> es => FilePath -> IOMode -> (Handle -> Eff es a) -> Eff es a
- ensureFileDurable :: forall (es :: [Effect]). FileSystem :> es => FilePath -> Eff es ()
Documentation
writeBinaryFile :: forall (es :: [Effect]). FileSystem :> es => FilePath -> ByteString -> Eff es () Source #
Lifted writeBinaryFile.
writeBinaryFileAtomic :: forall (es :: [Effect]). FileSystem :> es => FilePath -> ByteString -> Eff es () Source #
Lifted writeBinaryFileAtomic.
writeBinaryFileDurable :: forall (es :: [Effect]). FileSystem :> es => FilePath -> ByteString -> Eff es () Source #
Lifted writeBinaryFileDurable.
writeBinaryFileDurableAtomic :: forall (es :: [Effect]). FileSystem :> es => FilePath -> ByteString -> Eff es () Source #
Lifted writeBinaryFileDurableAtomic.
withBinaryFile :: forall (es :: [Effect]) a. FileSystem :> es => FilePath -> IOMode -> (Handle -> Eff es a) -> Eff es a Source #
Lifted withBinaryFile.
withBinaryFileAtomic :: forall (es :: [Effect]) a. FileSystem :> es => FilePath -> IOMode -> (Handle -> Eff es a) -> Eff es a Source #
Lifted withBinaryFileAtomic.
withBinaryFileDurable :: forall (es :: [Effect]) a. FileSystem :> es => FilePath -> IOMode -> (Handle -> Eff es a) -> Eff es a Source #
Lifted withBinaryFileDurable.
withBinaryFileDurableAtomic :: forall (es :: [Effect]) a. FileSystem :> es => FilePath -> IOMode -> (Handle -> Eff es a) -> Eff es a Source #
Lifted withBinaryFileDurableAtomic.
ensureFileDurable :: forall (es :: [Effect]). FileSystem :> es => FilePath -> Eff es () Source #
Lifted ensureFileDurable.