cpio-conduit-0.7.0: Conduit-based CPIO

Safe HaskellNone
LanguageHaskell2010

Data.CPIO

Documentation

readCPIO :: Monad m => Conduit ByteString m Entry Source #

writeCPIO :: Monad m => Conduit Entry m ByteString Source #

data Entry Source #

Constructors

Entry 

Fields

Instances
Eq Entry Source # 
Instance details

Defined in Data.CPIO

Methods

(==) :: Entry -> Entry -> Bool

(/=) :: Entry -> Entry -> Bool

Read Entry Source # 
Instance details

Defined in Data.CPIO

Methods

readsPrec :: Int -> ReadS Entry

readList :: ReadS [Entry]

readPrec :: ReadPrec Entry

readListPrec :: ReadPrec [Entry]

Show Entry Source # 
Instance details

Defined in Data.CPIO

Methods

showsPrec :: Int -> Entry -> ShowS

show :: Entry -> String

showList :: [Entry] -> ShowS

data FormatError Source #

Constructors

TruncatedArchive 
InvalidMagic ByteString 
InvalidHex ByteString 
Instances
Show FormatError Source # 
Instance details

Defined in Data.CPIO

Methods

showsPrec :: Int -> FormatError -> ShowS

show :: FormatError -> String

showList :: [FormatError] -> ShowS

Exception FormatError Source # 
Instance details

Defined in Data.CPIO

Methods

toException :: FormatError -> SomeException

fromException :: SomeException -> Maybe FormatError

displayException :: FormatError -> String