mirror of https://github.com/cirruslabs/tart.git
`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. |
||
|---|---|---|
| .. | ||
| TartTests | ||