https://github.com/emik03/emik.rubbish
Cross-platform library to send files to the recycle bin.
https://github.com/emik03/emik.rubbish
Last synced: 11 months ago
JSON representation
Cross-platform library to send files to the recycle bin.
- Host: GitHub
- URL: https://github.com/emik03/emik.rubbish
- Owner: Emik03
- License: mpl-2.0
- Created: 2024-05-12T19:36:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-01T10:51:36.000Z (over 1 year ago)
- Last Synced: 2025-09-14T16:31:25.663Z (11 months ago)
- Language: C#
- Size: 53.7 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Emik.Rubbish
[](https://www.nuget.org/packages/Emik.Rubbish)
[](https://github.com/Emik03/Emik.Rubbish/blob/main/LICENSE)
Cross-platform library to send files to the recycle bin. Supports all major desktop platforms. (Windows, Mac, and Linux)
This project has a dependency to [Emik.Morsels](https://github.com/Emik03/Emik.Morsels), if you are building this project, refer to its [README](https://github.com/Emik03/Emik.Morsels/blob/main/README.md) first.
---
- [API](#api)
- [Contribute](#contribute)
- [License](#license)
---
## API
- [`Emik.Rubbish.Move(string)`](https://github.com/Emik03/Emik.Rubbish/blob/master/Documentation/Rubbish.Move(string).md): Moves the file or directory to the recycling bin.
- [`Emik.Rubbish.MoveAsync(string, CancellationToken)`](https://github.com/Emik03/Emik.Rubbish/blob/master/Documentation/Rubbish.MoveAsync(string%2CCancellationToken).md): Moves the file or directory to the recycling bin asynchronously.
## Contribute
Issues and pull requests are welcome to help this repository be the best it can be.
## License
This repository falls under the [MPL-2 license](https://www.mozilla.org/en-US/MPL/2.0/).