fix(sync): S-03 — symlink detection and cycle protection

This commit is contained in:
2026-09-19 08:56:43 +02:00
parent 7b0f061221
commit 888c86ca5e
3 changed files with 132 additions and 2 deletions
+12
View File
@@ -1481,6 +1481,12 @@ fn handle_sync(
" • Bereits aktuell: {} Dateien (übersprungen)",
stats.files_skipped
);
if stats.files_skipped_symlinks > 0 {
println!(
" • Symlinks: {} übersprungen",
stats.files_skipped_symlinks
);
}
if delete {
println!(
" • Zu löschen: {} Dateien/Ordner",
@@ -1508,6 +1514,12 @@ fn handle_sync(
" • Übersprungen: {} Dateien (bereits aktuell)",
stats.files_skipped
);
if stats.files_skipped_symlinks > 0 {
println!(
" • Symlinks: {} übersprungen",
stats.files_skipped_symlinks
);
}
if delete {
println!(
" • Gelöscht: {} verwaiste Dateien/Ordner",