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 gix_fs::current_dir(false)
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more