struct GitBackend;Trait Implementations§
Source§impl VcsBackend for GitBackend
impl VcsBackend for GitBackend
fn create_worktree( &self, repo_path: &Path, worktree_path: &Path, name: &str, ) -> Result<(), Error>
fn remove_worktree( &self, repo_path: &Path, worktree_path: &Path, _name: &str, ) -> Result<(), Error>
fn list_worktrees( &self, repo_path: &Path, _worktree_base: &Path, ) -> Result<Vec<WorktreeInfo>, Error>
Auto Trait Implementations§
impl Freeze for GitBackend
impl RefUnwindSafe for GitBackend
impl Send for GitBackend
impl Sync for GitBackend
impl Unpin for GitBackend
impl UnwindSafe for GitBackend
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