pub struct RepositoryInstaller { /* private fields */ }Implementations§
Source§impl RepositoryInstaller
impl RepositoryInstaller
pub fn new(workspace_root: PathBuf, git_config: GitConfig) -> Self
pub async fn install_from_url(&self, url: &str) -> Result<InstalledRepository>
pub async fn install_from_url_with_options( &self, url: &str, custom_path: Option<PathBuf>, open_after_clone: bool, run_install_commands: bool, ) -> Result<InstalledRepository>
pub async fn execute_post_install_actions( &self, actions: &[PostInstallAction], repo_path: &Path, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for RepositoryInstaller
impl RefUnwindSafe for RepositoryInstaller
impl Send for RepositoryInstaller
impl Sync for RepositoryInstaller
impl Unpin for RepositoryInstaller
impl UnsafeUnpin for RepositoryInstaller
impl UnwindSafe for RepositoryInstaller
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