Skip to content
Clone
a06673b
20 lines 459 B Rust
use uuid::Uuid;
use crate::error::RepoResult;
use crate::features::RepoService;
use super::types::ArchiveFormatQuery;
use super::usecase;
impl RepoService {
pub async fn get_archive(
&self,
actor: Uuid,
repo_id: Uuid,
archive_format: &str,
ref_name: &str,
q: ArchiveFormatQuery,
) -> RepoResult<Vec<u8>> {
usecase::get_archive(self, actor, repo_id, archive_format, ref_name, q).await
}
}