Enum git_repository::index::write::Extensions
source · [−]Expand description
A way to specify which extensions to write.
Variants
All
Writes all available extensions to avoid loosing any information, and to allow accelerated reading of the index file.
Given
Fields
tree_cache: bool
Write the tree-cache extension, if present.
end_of_index_entry: bool
Write the end-of-index-entry extension.
Only write the given extensions, with each extension being marked by a boolean flag.
None
Write no extension at all for what should be the smallest possible index
Implementations
Trait Implementations
sourceimpl Clone for Extensions
impl Clone for Extensions
sourcefn clone(&self) -> Extensions
fn clone(&self) -> Extensions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Extensions
impl Debug for Extensions
sourceimpl Default for Extensions
impl Default for Extensions
sourcefn default() -> Extensions
fn default() -> Extensions
Returns the “default value” for a type. Read more
impl Copy for Extensions
Auto Trait Implementations
impl RefUnwindSafe for Extensions
impl Send for Extensions
impl Sync for Extensions
impl Unpin for Extensions
impl UnwindSafe for Extensions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more