Struct gitoxide_core::pack::verify::Context [−][src]
pub struct Context<W1: Write, W2: Write> {
pub output_statistics: Option<OutputFormat>,
pub out: W1,
pub err: W2,
pub thread_limit: Option<usize>,
pub mode: Mode,
pub algorithm: Algorithm,
pub should_interrupt: Arc<AtomicBool>,
}Expand description
A general purpose context for many operations provided here
Fields
output_statistics: Option<OutputFormat>If set, provide statistics to out in the given format
out: W1A stream to which to output operation results
err: W2A stream to which to errors
thread_limit: Option<usize>If set, don’t use more than this amount of threads. Otherwise, usually use as many threads as there are logical cores. A value of 0 is interpreted as no-limit
mode: Modealgorithm: Algorithmshould_interrupt: Arc<AtomicBool>