pub struct Options {
pub slots: Slots,
pub object_hash: Kind,
pub use_multi_pack_index: bool,
pub current_dir: Option<PathBuf>,
}
Expand description
Options for use in Store::at_opts()
.
Fields§
§slots: Slots
How to obtain a size for the slot map.
object_hash: Kind
The kind of hash we expect in our packs and would use for loose object iteration and object writing.
use_multi_pack_index: bool
If false, no multi-pack indices will be used. If true, they will be used if their hash matches object_hash
.
current_dir: Option<PathBuf>
The current directory of the process at the time of instantiation.
If unset, it will be retrieved using std::env::current_dir()
.