pub struct PrivateGitRepositoryPreparation { /* private fields */ }Implementations§
Source§impl PrivateGitRepositoryPreparation
impl PrivateGitRepositoryPreparation
pub fn prepare( root: impl AsRef<Path>, ) -> Result<Self, PrivateGitRepositoryError>
pub const fn needs_initialization(&self) -> bool
pub fn initialization_spec<'a>( &self, toolchain: &'a UnixGitToolchain, ) -> Result<GitProcessSpec<'a>, PrivateGitRepositoryError>
pub fn finish( self, ) -> Result<PrivateBareGitRepository, PrivateGitRepositoryError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PrivateGitRepositoryPreparation
impl RefUnwindSafe for PrivateGitRepositoryPreparation
impl Send for PrivateGitRepositoryPreparation
impl Sync for PrivateGitRepositoryPreparation
impl Unpin for PrivateGitRepositoryPreparation
impl UnsafeUnpin for PrivateGitRepositoryPreparation
impl UnwindSafe for PrivateGitRepositoryPreparation
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