Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

The end-to-end operations front-ends call.

Detection, dispatch, the handler, and — the part that is easy to leave out and expensive to add later — the verification pass. Front-ends should call these rather than reaching for a handler directly, because the checks that make a result trustworthy live here.

Functions§

inspect_bytes
Report what metadata data contains, without modifying anything.
inspect_file
Report what metadata the file at path contains.
strip_bytes
Produce a sanitised copy of data in memory, verified before it is returned.
strip_bytes_to_file
strip_file for bytes already read, so a front-end that inspects first reads the file once.
strip_file
Strip input and write the result to output.