Safe Haskell | None |
---|---|
Language | Haskell2010 |
Ouroboros.Consensus.Storage.FS.API
Description
Deprecated: Use System.FS.API from fs-api
Documentation
Constructors
Handle | |
Fields
|
Instances
Eq h ⇒ Eq (Handle h) | |
Show (Handle h) | |
Generic (Handle h) | |
NoThunks (Handle h) | |
Condense (Handle h) | |
Defined in System.FS.API.Types | |
type Rep (Handle h) | |
Defined in System.FS.API.Types type Rep (Handle h) = D1 ('MetaData "Handle" "System.FS.API.Types" "fs-api-0.1.0.0-58864323a5d3753cf4c9f98db8cb66d1e00cfb03d94ab9ebb31a0e9268bf84f1" 'False) (C1 ('MetaCons "Handle" 'PrefixI 'True) (S1 ('MetaSel ('Just "handleRaw") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 h) :*: S1 ('MetaSel ('Just "handlePath") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 FsPath))) |
data HasFS (m ∷ Type → Type) h #
Constructors
HasFS | |
Fields
|
hGetExactly ∷ (HasCallStack, MonadThrow m) ⇒ HasFS m h → Handle h → Word64 → m ByteString #
hGetExactlyAt ∷ (HasCallStack, MonadThrow m) ⇒ HasFS m h → Handle h → Word64 → AbsOffset → m ByteString #
hPutAll ∷ (HasCallStack, Monad m) ⇒ HasFS m h → Handle h → ByteString → m Word64 #
hPutAllStrict ∷ (HasCallStack, Monad m) ⇒ HasFS m h → Handle h → ByteString → m Word64 #
withFile ∷ (HasCallStack, MonadThrow m) ⇒ HasFS m h → FsPath → OpenMode → (Handle h → m a) → m a #