Skip to main content

compress

Function compress 

Source
pub fn compress(
    output: &str,
    options: &CompressOptions,
) -> Result<CompressResult, ExecError>
Expand description

Compress command output.

Outputs with at most options.collapse_threshold lines pass through unchanged. Otherwise kept lines are: the head summary, the tail summary, and every line matching a default keep pattern or a user --keep pattern. Omitted runs between kept lines fold into a single ... [N lines omitted] marker.