Struct git_pack::bundle::write::Options [−][src]
pub struct Options {
pub thread_limit: Option<usize>,
pub iteration_mode: Mode,
pub index_kind: Version,
}
Expand description
Configuration for write_to_directory or write_to_directory_eagerly
Fields
thread_limit: Option<usize>
The amount of threads to use at most when resolving the pack. If None
, all logical cores are used.
iteration_mode: Mode
Determine how much processing to spend on protecting against corruption or recovering from errors.
index_kind: Version
The version of pack index to write, should be crate::index::Version::default()
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Options
impl UnwindSafe for Options
Blanket Implementations
Mutably borrows from an owned value. Read more