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

V2 dev #11

Merged
merged 74 commits into from
Apr 20, 2021
Merged

V2 dev #11

merged 74 commits into from
Apr 20, 2021

Conversation

NilsIrl
Copy link
Contributor

@NilsIrl NilsIrl commented Apr 15, 2020

Merge v2-dev into master

ArturKovacs and others added 30 commits October 31, 2019 02:09
…cuting the operation on the requested items. Add test cases for `purge_all` and `restore_all`. Test are now thread safe.
Also ran rustfmt and created a rustfmt config.
Updates the existing Mac implementation to compile with v2 of the
library. Does not add any new functionality other defining required
methods.

Tests fail for methods relating to `list`, `purge_all`, or
`restore_all`, which are unimplemented.
refactor(mac): port mac implementation to work with v2 (tests fail)
This happened because `list` on Linux didn't handle paralell threads manipulating the trash correctly.
Can't remove from non-root devices or partitions.
Also added debug print line numbers.
Add version 2 implementation for linux.
@ArturKovacs
Copy link
Collaborator

My PR still hasn't been merged into winapi-rs but it doesn't matter because there's windows-rs which provides all the functionality needed, so from now on, the Windows implementation uses windows-rs.

I renamed the linux_windows module to os_limited partly because the linux implementation is actually a "FreeDesktop" implementation, and partly because os_limited looks neater than linux_windows in my opinion.

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.

3 participants