# Never delete what moved out of the folder being deleted · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/203d196e342df6c191932adb25b36bdc3f19744f)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 203d196e342df6c191932adb25b36bdc3f19744f

Requested commit: 203d196e342df6c191932adb25b36bdc3f19744f

Commit: 203d196e342df6c191932adb25b36bdc3f19744f

Tree: 3453923a7e3356c5377072a3f994703137a09591

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Never delete what moved out of the folder being deleted

The app deletes a cloud folder's contents one call at a time from a
list it read first. Something another device moved out meanwhile was
deleted in its new place. strategies:delete and folders:delete take an
optional withinFolderPublicId and refuse anything no longer inside that
folder; clients that never send it behave as before.

```

## Parents

- [24ee61c5311dfc52da7f0124ec2edb31d8c29cb5](https://git.cafe/dara/icarus/commit/24ee61c5311dfc52da7f0124ec2edb31d8c29cb5?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/203d196e342df6c191932adb25b36bdc3f19744f?format=markdown)
