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 = Result<RepoInfo, WorkspaceManagerError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn list_repos<'life0, 'async_trait>(
&'life0 self,
environment_id: EnvironmentId,
) -> Pin<Box<dyn Future<Output = Result<Vec<RepoInfo>, WorkspaceManagerError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}