arx-0.3.2: Archive execution tool.

Safe HaskellNone
LanguageHaskell98

System.Posix.ARX.Programs

Synopsis

Documentation

class ARX program input | program -> input where Source #

ARX subprograms process some input to produce a script.

Minimal complete definition

interpret

Methods

interpret :: program -> input -> Builder Source #

Instances
ARX SHDAT ByteString Source # 
Instance details

Defined in System.Posix.ARX.Programs

ARX TMPX [(Tar, ByteString)] Source # 
Instance details

Defined in System.Posix.ARX.Programs

Methods

interpret :: TMPX -> [(Tar, ByteString)] -> Builder Source #

newtype SHDAT Source #

An SHDAT program processes byte streams with the specified chunking to produce a script.

Constructors

SHDAT Word 
Instances
ARX SHDAT ByteString Source # 
Instance details

Defined in System.Posix.ARX.Programs

data TMPX Source #

A TMPX program archives streams to produce a script that unpacks the file data in a temporary location and runs the command with the attached environment information in that location. The command may be any executable file contents, modulo architectural compatibility. It is written along side the temporary work location, to ensure it does not collide with any files in the archive. The two boolean flags determine when to delete the temporary directory. The first flag determines whether or not to delete successful (exit code zero) runs; the second determines whether or not to delete failed (exit code non-zero) runs.

Instances
ARX TMPX [(Tar, ByteString)] Source # 
Instance details

Defined in System.Posix.ARX.Programs

Methods

interpret :: TMPX -> [(Tar, ByteString)] -> Builder Source #