Files
restic/internal
Dean Chen 4dfa381b9f restorer: don't delete files when a directory tree can't be loaded (#22189)
When loading or iterating a directory tree failed, traverseTreeInner
returned a nil file list together with the error. If the error handler
ignored the error, the caller still called leaveDir with that nil list,
and restore --delete removed every existing entry of the directory in
the target, even though the expected content was simply unknown.

Force disable deletion in that case, the same way it is already done
for invalid node names.

Signed-off-by: Dean Chen <862469039@qq.com>
2026-11-15 19:50:17 +01:00
..
2026-07-22 22:26:19 +02:00
2026-07-22 22:26:19 +02:00
2026-07-22 22:27:07 +02:00
2026-07-22 22:27:15 +02:00
2026-08-29 21:02:05 +02:00
2026-07-22 22:27:07 +02:00
2026-08-29 21:02:05 +02:00
2026-07-22 22:27:15 +02:00
2025-03-22 18:20:30 +00:00
2026-07-22 22:25:18 +02:00
2026-11-05 21:15:09 +01:00
2026-07-22 22:26:19 +02:00
2026-07-22 22:27:21 +02:00
2026-07-22 22:27:15 +02:00