Struct git_repository::open::Options
source · [−]pub struct Options { /* private fields */ }
Expand description
The options used in [`Repository::open_opts
Implementations
sourceimpl Options
impl Options
sourcepub fn object_store_slots(self, slots: Slots) -> Self
pub fn object_store_slots(self, slots: Slots) -> Self
Set the amount of slots to use for the object database. It’s a value that doesn’t need changes on the client, typically, but should be controlled on the server.
sourcepub fn replacement_objects(self, config: ReplacementObjects) -> Self
pub fn replacement_objects(self, config: ReplacementObjects) -> Self
Configure replacement objects, see the ReplacementObjects
type for details.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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