#[non_exhaustive]pub struct GitClone {
pub colocate: bool,
}Expand description
Colocation choice for JjApi::git_clone (jj git clone --colocate|--no-colocate).
The flag is always passed explicitly — jj’s default flipped across versions
and is overridable via git.colocate config — so there is deliberately no
default: pick GitClone::colocated or GitClone::separate.
#[non_exhaustive].
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.colocate: boolCreate a visible .git alongside .jj (--colocate) rather than a
jj-only checkout (--no-colocate).
Implementations§
Trait Implementations§
impl Eq for GitClone
impl StructuralPartialEq for GitClone
Auto Trait Implementations§
impl Freeze for GitClone
impl RefUnwindSafe for GitClone
impl Send for GitClone
impl Sync for GitClone
impl Unpin for GitClone
impl UnsafeUnpin for GitClone
impl UnwindSafe for GitClone
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