Ar

ghc-8.4.1: The GHC API

Safe Haskell | None
Language | Haskell2010

Ar

# Documentation

data ArchiveEntry Source #

Constructors

ArchiveEntry |
Fields filename :: String File name. filetime :: Int File modification time. fileown :: Int File owner. filegrp :: Int File group. filemode :: Int File mode. filesize :: Int File size. filedata :: ByteString File bytes.

Instances

Eq ArchiveEntry Source # |
Instance details Methods (==) :: ArchiveEntry -> ArchiveEntry -> Bool # (/=) :: ArchiveEntry -> ArchiveEntry -> Bool #
Show ArchiveEntry Source # |
Instance details Methods showsPrec :: Int -> ArchiveEntry -> ShowS Source # show :: ArchiveEntry -> String Source # showList :: [ArchiveEntry] -> ShowS Source #

newtype Archive Source #

Constructors

Archive [ArchiveEntry] |

Instances

Eq Archive Source # |
Instance details Methods (==) :: Archive -> Archive -> Bool # (/=) :: Archive -> Archive -> Bool #
Show Archive Source # |
Instance details Methods showsPrec :: Int -> Archive -> ShowS Source # show :: Archive -> String Source # showList :: [Archive] -> ShowS Source #
Semigroup Archive Source # |
Instance details Methods (<>) :: Archive -> Archive -> Archive Source # sconcat :: NonEmpty Archive -> Archive Source # stimes :: Integral b => b -> Archive -> Archive Source #
Monoid Archive Source # |
Instance details Methods mempty :: Archive Source # mappend :: Archive -> Archive -> Archive Source # mconcat :: [Archive] -> Archive Source #

afilter :: (ArchiveEntry -> Bool) -> Archive -> Archive Source #

parseAr :: ByteString -> Archive Source #

loadAr :: FilePath -> IO Archive Source #

loadObj :: FilePath -> IO ArchiveEntry Source #

writeBSDAr :: FilePath -> Archive -> IO () Source #

writeGNUAr :: FilePath -> Archive -> IO () Source #

isBSDSymdef :: ArchiveEntry -> Bool Source #

isGNUSymdef :: ArchiveEntry -> Bool Source #