New gui options to have a better integration

This commit is contained in:
Andrea Mazzoleni 2026-02-10 11:28:11 +01:00
parent 5dfeaf0ef6
commit 627b7cff50
3 changed files with 76 additions and 14 deletions

View file

@ -2009,6 +2009,10 @@ static int state_diffscan(struct snapraid_state* state, int is_diff)
log_tag("summary:restored:%u\n", total.count_restore);
log_tag("list:scan_end\n");
/* save in the state */
state->removed_files = total.count_remove;
state->updated_files = total.count_change;
no_difference = !total.count_move && !total.count_copy && !total.count_restore
&& !total.count_change && !total.count_remove && !total.count_insert;