Moduleblockio-0.2.1.0
System.FS.BlockIO.API
- 9 types
- 9 values
- Packageblockio-0.2.1.0
- Exports18
- LicenceApache-2.0
- SourceCommon.hs
Constructors
HasBlockIOclose :: HasCallStack => m ()submitIO :: HasCallStack => Vector (IOOp (PrimState m) h) -> m (Vector IOResult)hSetNoCache :: Handle h -> Bool -> m ()hAdvise :: Handle h -> FileOffset -> FileOffset -> Advice -> m ()hAllocate :: Handle h -> FileOffset -> FileOffset -> m ()tryLockFile :: FsPath -> LockMode -> m (Maybe (LockFileHandle m))hSynchronise :: Handle h -> m ()synchroniseDirectory :: FsPath -> m ()createHardLink :: FsPath -> FsPath -> m ()
Instances1NFData
NFData (HasBlockIO m h)Defined in blockio-0.2.1.0 · System.FS.BlockIO.API
Constructors
IOOpRead !(Handle h) !FileOffset !(MutableByteArray s) !BufferOffset !ByteCountIOOpWrite !(Handle h) !FileOffset !(MutableByteArray s) !BufferOffset !ByteCount
Instances8Eq, Show, Prim, Unbox, MVector, Vector, …
Eq IOResultDefined in blockio-0.2.1.0 · System.FS.BlockIO.APIShow IOResultDefined in blockio-0.2.1.0 · System.FS.BlockIO.APIPrim IOResultDefined in blockio-0.2.1.0 · System.FS.BlockIO.APIUnbox IOResultDefined in blockio-0.2.1.0 · System.FS.BlockIO.APIMVector MVector IOResultDefined in blockio-0.2.1.0 · System.FS.BlockIO.APIVector Vector IOResultDefined in blockio-0.2.1.0 · System.FS.BlockIO.APIdata MVector s IOResultDefined in blockio-0.2.1.0 · System.FS.BlockIO.APIdata Vector IOResultDefined in blockio-0.2.1.0 · System.FS.BlockIO.API
Constructors
LockFileHandlehUnlock :: m ()
Exception thrown by hLock on non-Windows platforms that don't support
flock.
Instances2Show, Exception
Show FileLockingNotSupportedDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.Handle.Lock.CommonException FileLockingNotSupportedDefined in ghc-internal-9.1401.0 · GHC.Internal.IO.Handle.Lock.Common
Indicates a mode in which a file should be locked.