pub struct CloneCommand;Implementations§
Source§impl CloneCommand
impl CloneCommand
pub async fn execute( url: String, path: Option<PathBuf>, open: bool, install: bool, workspace_manager: &mut WorkspaceManager, git_config: &GitConfig, ) -> Result<PathBuf>
Sourcepub async fn execute_interactive(
url: String,
path: Option<PathBuf>,
workspace_manager: &mut WorkspaceManager,
git_config: &GitConfig,
) -> Result<PathBuf>
pub async fn execute_interactive( url: String, path: Option<PathBuf>, workspace_manager: &mut WorkspaceManager, git_config: &GitConfig, ) -> Result<PathBuf>
Execute clone with interactive post-clone workflow
pub async fn clone_from_search_result( repo: Repository, workspace_manager: &mut WorkspaceManager, git_config: &GitConfig, ) -> Result<()>
Sourcepub async fn interactive_post_clone_workflow(
repo_name: &str,
workspace_manager: &mut WorkspaceManager,
) -> Result<()>
pub async fn interactive_post_clone_workflow( repo_name: &str, workspace_manager: &mut WorkspaceManager, ) -> Result<()>
Interactive workflow after cloning a repository
Auto Trait Implementations§
impl Freeze for CloneCommand
impl RefUnwindSafe for CloneCommand
impl Send for CloneCommand
impl Sync for CloneCommand
impl Unpin for CloneCommand
impl UnsafeUnpin for CloneCommand
impl UnwindSafe for CloneCommand
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