| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | GHC2021 | 
System.FS.BlockIO.Serial.Internal
Description
This is an internal module that has to be exposed for technical reasons. Do not use it.
Synopsis
- serialHasBlockIO :: (MonadThrow m, MonadMVar m, PrimMonad m, Eq h) => (Handle h -> Bool -> m ()) -> (Handle h -> FileOffset -> FileOffset -> Advice -> m ()) -> (Handle h -> FileOffset -> FileOffset -> m ()) -> (FsPath -> LockMode -> m (Maybe (LockFileHandle m))) -> (Handle h -> m ()) -> (FsPath -> m ()) -> (FsPath -> FsPath -> m ()) -> HasFS m h -> m (HasBlockIO m h)
 
Documentation
serialHasBlockIO :: (MonadThrow m, MonadMVar m, PrimMonad m, Eq h) => (Handle h -> Bool -> m ()) -> (Handle h -> FileOffset -> FileOffset -> Advice -> m ()) -> (Handle h -> FileOffset -> FileOffset -> m ()) -> (FsPath -> LockMode -> m (Maybe (LockFileHandle m))) -> (Handle h -> m ()) -> (FsPath -> m ()) -> (FsPath -> FsPath -> m ()) -> HasFS m h -> m (HasBlockIO m h) Source #
IO instantiation of HasBlockIO, using an existing HasFS. Thus this
 implementation does not take advantage of parallel I/O.