Skip to main content

RepoManager

Trait RepoManager 

Source
pub trait RepoManager:
    Send
    + Sync
    + Debug {
    // Required methods
    fn resolve_repo<'life0, 'life1, 'async_trait>(
        &'life0 self,
        environment_id: EnvironmentId,
        path: &'life1 Path,
    ) -> Pin<Box<dyn Future<Output = WorkspaceManagerResult<RepoInfo>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn list_repos<'life0, 'async_trait>(
        &'life0 self,
        environment_id: EnvironmentId,
    ) -> Pin<Box<dyn Future<Output = WorkspaceManagerResult<Vec<RepoInfo>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn resolve_repo<'life0, 'life1, 'async_trait>( &'life0 self, environment_id: EnvironmentId, path: &'life1 Path, ) -> Pin<Box<dyn Future<Output = WorkspaceManagerResult<RepoInfo>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn list_repos<'life0, 'async_trait>( &'life0 self, environment_id: EnvironmentId, ) -> Pin<Box<dyn Future<Output = WorkspaceManagerResult<Vec<RepoInfo>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§