pub struct Options {
pub write_reflog: WriteReflog,
pub object_hash: Kind,
pub precompose_unicode: bool,
pub prohibit_windows_device_names: bool,
}Expand description
Options for use during initialization.
Fields§
§write_reflog: WriteReflogHow to write the ref-log.
object_hash: KindThe kind of hash to expect in
precompose_unicode: boolThe equivalent of core.precomposeUnicode.
prohibit_windows_device_names: boolIf true, we will avoid reading from or writing to references that contains Windows device names
to avoid side effects. This only needs to be true on Windows, but can be true on other platforms
if they need to remain compatible with Windows.
Trait Implementations§
impl Copy for Options
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