a06673b
use uuid::Uuid;
use crate::error::RepoResult;
use crate::features::RepoService;
use super::types::CompareView;
use super::usecase;
impl RepoService {
pub async fn compare(
&self,
actor: Uuid,
repo_id: Uuid,
base: &str,
head: &str,
) -> RepoResult<CompareView> {
usecase::compare(self, actor, repo_id, base, head).await
}
}