Skip to content

Conversation

@dragonchaser
Copy link
Contributor

@dragonchaser dragonchaser commented Jun 26, 2025

This PR adds an aditional bool flag to the drive item called hasTrashItems this is used to show whether there are items in the drives trashbin or not.

With that little change, everybody will be able to implement a cost-efficient way to query whether a storage provider has trashed items, without having to read the whole trashbin. (our current implementation can be reviewed here for decomposedfs and posixfs: https://github.com/opencloud-eu/reva/pull/268/files)

@dragonchaser dragonchaser marked this pull request as ready for review July 2, 2025 10:16
Copy link
Member

@micbar micbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine from my POV

@glpatcern This flag is optional.

@micbar micbar merged commit d3b9388 into cs3org:main Jul 3, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants