a06673b
use uuid::Uuid;
use crate::error::RepoResult;
use crate::features::RepoService;
use super::types::{SyncResult, SyncStatus};
use super::usecase;
impl RepoService {
pub async fn get_sync_status(&self, actor: Uuid, repo_id: Uuid) -> RepoResult<SyncStatus> {
usecase::get_sync_status(self, actor, repo_id).await
}
pub async fn sync_repo_metadata(&self, actor: Uuid, repo_id: Uuid) -> RepoResult<SyncResult> {
usecase::sync_repo_metadata(self, actor, repo_id).await
}
}