use serde::Serialize; use crate::context::facade::GitContext; use crate::service::GitService; use crate::share::errors::GitError; #[derive(Debug, Clone, Serialize, utoipa::ToSchema)] pub struct IngestPackDto { pub object_count: i64, pub size: i64, } #[derive(Debug, Clone, Serialize, utoipa::ToSchema)] pub struct PackStatsDto { pub loose_count: i64, pub size_bytes: i64, } impl GitService { pub async fn pack_ingest( &self, _ctx: &GitContext, _pack: Vec, ) -> Result { Err(GitError::Unimplemented("pack ingest is served by KenShell")) } pub async fn pack_repack(&self, _ctx: &GitContext) -> Result<(), GitError> { Err(GitError::Unimplemented("pack repack is served by KenShell")) } pub async fn pack_stats(&self, _ctx: &GitContext) -> Result { Err(GitError::Unimplemented("pack stats are served by KenShell")) } }