Enum git_repository::create::Kind
source · pub enum Kind {
WithWorktree,
Bare,
}
Expand description
The kind of repository to create.
Variants
WithWorktree
An empty repository with a .git
folder, setup to contain files in its worktree.
Bare
A bare repository without a worktree.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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