pub struct RepositoryCreator { /* private fields */ }Implementations§
Source§impl RepositoryCreator
impl RepositoryCreator
pub fn new(workspace_root: PathBuf) -> Self
Sourcepub async fn get_github_user_info(&self) -> Result<GitHubUserInfo>
pub async fn get_github_user_info(&self) -> Result<GitHubUserInfo>
Get GitHub user information including organizations
Sourcepub async fn check_repository_availability(
&self,
owner: &str,
repo_name: &str,
) -> Result<bool>
pub async fn check_repository_availability( &self, owner: &str, repo_name: &str, ) -> Result<bool>
Check if a repository name is available on GitHub for the given owner
Sourcepub async fn create_local_repository(
&self,
owner: &str,
repo_name: &str,
workspace_manager: &mut WorkspaceManager,
) -> Result<PathBuf>
pub async fn create_local_repository( &self, owner: &str, repo_name: &str, workspace_manager: &mut WorkspaceManager, ) -> Result<PathBuf>
Create a new local repository with the given name and structure
Sourcepub fn validate_repository_name(&self, name: &str) -> Result<()>
pub fn validate_repository_name(&self, name: &str) -> Result<()>
Validate repository name (basic validation)
Auto Trait Implementations§
impl Freeze for RepositoryCreator
impl RefUnwindSafe for RepositoryCreator
impl Send for RepositoryCreator
impl Sync for RepositoryCreator
impl Unpin for RepositoryCreator
impl UnsafeUnpin for RepositoryCreator
impl UnwindSafe for RepositoryCreator
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