blob: 6142e0230579fcab52ca12580d42df68cbc3ebfd [file] [log] [blame]
Mohammed Naser5e52f872025-02-17 16:02:00 -05001pub mod repository;
2pub mod clients;
3
4use async_trait::async_trait;
5use std::any::Any;
6use std::error::Error;
7
8#[async_trait]
9pub trait RepositoryClient: Any + Send + Sync {
10 async fn get_latest_commit(
11 &self,
12 repository: &crate::repository::Repository,
13 branch: &str,
14 ) -> Result<String, Box<dyn Error>>;
15}