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: WriteReflog
How to write the ref-log.
object_hash: Kind
The kind of hash to expect in
precompose_unicode: bool
The equivalent of core.precomposeUnicode
.
prohibit_windows_device_names: bool
If 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)