Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Only enumerate trash items when necessary [Waiting on trash-rs patch] #604

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joshuamegnauth54
Copy link
Contributor

Closes: #310

Depends on Byron/trash-rs#120 which implements a function that only checks if the trash is empty or not instead of parsing each item.

Closes: pop-os#310

Depends on Byron/trash-rs#120 which implements a function that only
checks if the trash is empty or not instead of parsing each item.
@dtomvan
Copy link

dtomvan commented Nov 4, 2024

@joshuamegnauth54 The PR has been merged on trash-rs's end, so this can go through now, yes? Could you do a cargo-update and open this for review?

@joshuamegnauth54
Copy link
Contributor Author

Thanks! I didn't notice that the patch has been merged.

I think that COSMIC Files uses a fork of trash-rs, so I'll have to see if I can rebase that on main first and then set this PR ready.

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.

[Bug] Cosmic files takes a long time to load if you have a lot of deleted files in the trash.
2 participants