fix warnings

This commit is contained in:
DioCrafts
2025-03-28 06:15:09 +01:00
parent bfbef18117
commit f9955bb710
36 changed files with 15 additions and 2808 deletions
+1 -11
View File
@@ -523,17 +523,7 @@ impl Default for AppState {
}
}
struct DummyFilePathResolutionPort;
#[async_trait::async_trait]
impl crate::application::ports::storage_ports::FilePathResolutionPort for DummyFilePathResolutionPort {
async fn get_file_path(&self, _id: &str) -> Result<crate::domain::services::path_service::StoragePath, crate::common::errors::DomainError> {
Ok(crate::domain::services::path_service::StoragePath::from_string("/"))
}
fn resolve_path(&self, _storage_path: &crate::domain::services::path_service::StoragePath) -> std::path::PathBuf {
std::path::PathBuf::from("/")
}
}
// File path resolution is handled by other components
struct DummyI18nService;
#[async_trait::async_trait]