pub struct Options {
pub thread_limit: Option<usize>,
pub iteration_mode: Mode,
pub index_version: Version,
pub object_hash: Kind,
}
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_version: Version
The version of pack index to write, should be crate::index::Version::default()
object_hash: Kind
The kind of hash to use when writing the bundle.