lsm-tree-0.1.0.0: Log-structured merge-trees
Safe HaskellSafe-Inferred
LanguageGHC2021

System.FS.BlockIO.Serial

Synopsis

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.