Struct git_repository::create::Options
source · [−]pub struct Options {
pub bare: bool,
pub fs_capabilities: Option<Capabilities>,
}
Expand description
Options for use in into()
;
Fields
bare: bool
If true, the repository will be a bare repository without a worktree.
fs_capabilities: Option<Capabilities>
If set, use these filesystem capabilities to populate the respective git-config fields.
If None
, the directory will be probed.
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 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