030e59e
zhenyi
refactor(lib): migrate storage and security tier to central lib/config (auth, cache, db, email, jwt, payment, queue, rate_limit, storage)
030e59e
use crate::gc::types::{FsckResult, GcResult, PackStats, RepoStats};
pub trait GcOps {
fn gc_stats(&self) -> Result<RepoStats, crate::Error>;
fn gc_gc(&self) -> Result<GcResult, crate::Error>;
fn gc_fsck(&self) -> Result<FsckResult, crate::Error>;
fn gc_count_objects(&self) -> Result<PackStats, crate::Error>;
fn gc_prune_orphans(&self) -> Result<GcResult, crate::Error>;
}