use std::error::Error; use crate::{ command::repository::{ CreateRepositoryCommand, CreateRepositoryResponse, RepositoryFileInspectionCommand, RepositoryFileInspectionResponse, RepositoryInfoRequest, RepositoryIssueLabelsRequest, RepositoryIssueLabelsResponse, RepositoryIssuesCountRequest, RepositoryIssuesCountResponse, RepositoryIssuesRequest, RepositoryIssuesResponse, }, model::repository::RepositoryView, }; use super::RepositoryBackend; pub struct GitBackend; impl GitBackend { pub fn new() -> Self { Self } } impl RepositoryBackend for GitBackend { fn create_repository( &mut self, request: &CreateRepositoryCommand, ) -> Result> { todo!() } fn repository_info( &mut self, request: &RepositoryInfoRequest, ) -> Result> { todo!() } fn repository_file_inspect( &mut self, request: &RepositoryFileInspectionCommand, ) -> Result> { todo!() } fn repository_issues_count( &mut self, request: &RepositoryIssuesCountRequest, ) -> Result> { todo!() } fn repository_issue_labels( &mut self, request: &RepositoryIssueLabelsRequest, ) -> Result> { todo!() } fn repository_issues( &mut self, request: &RepositoryIssuesRequest, ) -> Result> { todo!() } }