backend refactor file_system into warren domain

This commit is contained in:
2025-07-16 05:19:17 +02:00
parent a683f44ecb
commit 476ea9f516
26 changed files with 576 additions and 439 deletions

View File

@@ -1,9 +1,9 @@
use crate::domain::{
file_system::{
models::file::{File, FilePath},
ports::FileSystemNotifier,
use crate::domain::warren::{
models::{
file::{File, FilePath},
warren::Warren,
},
warren::{models::warren::Warren, ports::WarrenNotifier},
ports::{FileSystemNotifier, WarrenNotifier},
};
#[derive(Debug, Clone, Copy)]
@@ -93,4 +93,8 @@ impl FileSystemNotifier for NotifierDebugLogger {
async fn file_deleted(&self, path: &FilePath) {
log::debug!("[Notifier] Deleted file {}", path);
}
async fn entry_renamed(&self, old_path: &FilePath, new_path: &FilePath) {
log::debug!("[Notifier] Renamed file {} to {}", old_path, new_path);
}
}