-/* $OpenBSD: main.c,v 1.237 2023/05/25 12:52:56 claudio Exp $ */
+/* $OpenBSD: main.c,v 1.238 2023/05/26 14:57:38 claudio Exp $ */
/*
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
out->del_files += in->del_files;
out->extra_files += in->extra_files;
+ out->del_extra_files += in->del_extra_files;
out->del_dirs += in->del_dirs;
timespecadd(&in->sync_time, &out->sync_time, &out->sync_time);
}
-/* $OpenBSD: output-json.c,v 1.37 2023/05/03 09:54:25 claudio Exp $ */
+/* $OpenBSD: output-json.c,v 1.38 2023/05/26 14:57:38 claudio Exp $ */
/*
* Copyright (c) 2019 Claudio Jeker <claudio@openbsd.org>
*
json_do_int("vaps", st->repo_tal_stats.vaps);
json_do_int("uniquevaps", st->repo_tal_stats.vaps_uniqs);
json_do_int("cachedir_del_files", st->repo_stats.del_files);
- json_do_int("cachedir_superfluous_files", st->repo_stats.extra_files);
json_do_int("cachedir_del_dirs", st->repo_stats.del_dirs);
+ json_do_int("cachedir_superfluous_files", st->repo_stats.extra_files);
+ json_do_int("cachedir_del_superfluous_files",
+ st->repo_stats.del_extra_files);
json_do_end();
}