use serde::Serialize; 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, _space_name: String, _repo_name: String, _pack: Vec, ) -> Result { Err(GitError::Unimplemented("pack ingest is served by KenShell")) } pub async fn pack_repack( &self, _space_name: String, _repo_name: String, ) -> Result<(), GitError> { Err(GitError::Unimplemented("pack repack is served by KenShell")) } pub async fn pack_stats( &self, _space_name: String, _repo_name: String, ) -> Result { Err(GitError::Unimplemented("pack stats are served by KenShell")) } }