mirror of https://github.com/cirruslabs/tart.git
Previously promised files (Photos/Mail/browser drags) were received into a host-private staging dir and then copied a second time into the shared drop zone. Now each promise is received directly into its per-item dropRoot/<uuid>/ subdir, so the source app writes it exactly once. Plain file/dir drags still stream through copyTree (progress + cancellation). Promises show an indeterminate bar (no byte progress is available from the promise API) and relocation uses the actual written names so provider de-duplication is honored. relocate() now reaps the subdir by emptiness rather than unconditionally, so a multi-file promise sharing one subdir isn't deleted out from under its pending siblings. |
||
|---|---|---|
| .. | ||
| tart | ||