From f31b101ce1e921a026ba234b1f0a83b0392bc118 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 20 May 2026 08:33:49 +0900 Subject: fix(compile): fix all remaining compile errors Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/shirabe/src/repository/repository_interface.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'crates/shirabe/src/repository/repository_interface.rs') diff --git a/crates/shirabe/src/repository/repository_interface.rs b/crates/shirabe/src/repository/repository_interface.rs index 6113997..de37b5f 100644 --- a/crates/shirabe/src/repository/repository_interface.rs +++ b/crates/shirabe/src/repository/repository_interface.rs @@ -26,11 +26,13 @@ pub struct LoadPackagesResult { pub packages: Vec>, } +#[derive(Debug, Clone)] pub enum AbandonedInfo { Replacement(String), Abandoned, } +#[derive(Debug, Clone)] pub struct SearchResult { pub name: String, pub description: Option, @@ -38,6 +40,7 @@ pub struct SearchResult { pub url: Option, } +#[derive(Debug, Clone)] pub struct ProviderInfo { pub name: String, pub description: Option, @@ -83,6 +86,13 @@ pub trait RepositoryInterface: Countable + std::fmt::Debug { None } + fn as_installed_repository_interface( + &self, + ) -> Option<&dyn crate::repository::installed_repository_interface::InstalledRepositoryInterface> + { + None + } + fn as_any(&self) -> &dyn std::any::Any; fn clone_box(&self) -> Box { -- cgit v1.3.1