arx-0.3.1: Archive execution tool.

Safe HaskellNone
LanguageHaskell98

System.Posix.ARX.CLI

Synopsis

Documentation

main :: IO () Source #

Run CLI tool, processing arguments and options.

shdatResolve :: ([Word], [IOStream], [IOStream]) -> (Word, IOStream, [IOStream]) Source #

Apply defaulting and overrides appropriate to SHDAT programs.

tmpxResolve :: ([Word], [IOStream], [IOStream], [(Var, Val)], [ByteString], [(Bool, Bool)], [Bool], [ByteSource]) -> (Word, IOStream, [IOStream], [(Var, Val)], ByteString, (Bool, Bool), Bool, ByteSource) Source #

Apply defaulting and overrides appropriate to TMPX programs.

defaultBlock :: Word Source #

By default, we encode binary data to HERE docs 4MiB at a time. (The encoded result may be up to 10% larger, though 1% is more likely.)

defaultTask :: ByteSource Source #

The default task is a no-op call to /bin/true.

data ZOM Source #

Constructors

Zero 
One !ByteString 
Many ![ByteString] 

Instances

Semigroup ZOM Source # 

Methods

(<>) :: ZOM -> ZOM -> ZOM #

sconcat :: NonEmpty ZOM -> ZOM #

stimes :: Integral b => b -> ZOM -> ZOM #

Monoid ZOM Source # 

Methods

mempty :: ZOM #

mappend :: ZOM -> ZOM -> ZOM #

mconcat :: [ZOM] -> ZOM #