tart/Tests
Dal Rupnik 2fb91b61cb fix(drop): propagate directory-read failures during drop copy
`copyTree`/`copyInto` treated `contentsOfDirectory` errors as an empty
listing (`try? … ?? []`), so a permission/I/O failure inside a dropped
folder was silently ignored and the drop reported success — producing an
incomplete copy in the guest with no warning (data-lossy for users who
expect the whole folder to transfer).

Let the read error propagate instead. copyTree's do/catch already removes
the partial `dst` and rethrows, so an unreadable subtree now aborts the
drop and cleans up rather than half-completing.

Adds a regression test covering an unreadable nested directory.
2026-06-08 09:29:12 +02:00
..
TartTests fix(drop): propagate directory-read failures during drop copy 2026-06-08 09:29:12 +02:00