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::patch::types::{ApplyResult, ParsedPatch, Patch};
pub trait PatchOps {
fn patch_generate(&self, base: &str, head: &str) -> Result<Patch, crate::Error>;
fn patch_parse(&self, content: &str) -> Result<ParsedPatch, crate::Error>;
fn patch_apply(&self, patch: &str, base: &str) -> Result<ApplyResult, crate::Error>;
}