add logging

This commit is contained in:
2022-11-21 14:09:03 +01:00
parent dce155979e
commit af875e4688
14 changed files with 244 additions and 23 deletions

View File

@@ -1,9 +1,12 @@
use std::sync::Arc;
use async_trait::async_trait;
pub mod github;
#[async_trait::async_trait]
#[async_trait]
pub trait GitProvider {
async fn clone_from_url(&self, url: String) -> eyre::Result<()>;
}
pub type DynGitProvider = Arc<dyn GitProvider + Send + Sync>;