backend refactor file_system into warren domain
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::domain::{file_system::ports::FileSystemMetrics, warren::ports::WarrenMetrics};
|
||||
use crate::domain::warren::ports::{FileSystemMetrics, WarrenMetrics};
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub struct MetricsDebugLogger;
|
||||
@@ -107,4 +107,11 @@ impl FileSystemMetrics for MetricsDebugLogger {
|
||||
async fn record_file_deletion_failure(&self) {
|
||||
log::debug!("[Metrics] File deletion failed");
|
||||
}
|
||||
|
||||
async fn record_entry_rename_success(&self) -> () {
|
||||
log::debug!("[Metrics] Entry rename succeeded");
|
||||
}
|
||||
async fn record_entry_rename_failure(&self) -> () {
|
||||
log::debug!("[Metrics] Entry rename failed");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user