use std::future::Future; use forge_git::GitService; use crate::parse::{LfsOperation, RepoPath}; pub trait GitBackend: Send + Sync + 'static { fn authenticate_key( &self, algorithm: &str, key_blob: &[u8], ) -> impl Future> + Send; fn prepare( &self, user_id: &str, service: GitService, repo_path: &RepoPath, git_protocol: Option<&str>, ) -> impl Future> + Send; fn lfs_authenticate( &self, user_id: &str, repo_path: &RepoPath, operation: LfsOperation, ) -> impl Future> + Send; }