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