Struct gitoxide_core::pack::verify::Context
source · pub struct Context<'a, 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: &'a AtomicBool,
pub object_hash: Kind,
}
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: W1
A stream to which to output operation results
err: W2
A 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: Mode
§algorithm: Algorithm
§should_interrupt: &'a AtomicBool
§object_hash: Kind