apache / apache/opendal

Add support for trash

Open
#4,032 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
5.4k
Forks
825
Avg merge
1d 14m
Merged PRs (30d)
127

Description

Seems like google drive supports trash. https://github.com/apache/opendal/pull/4002 Is it possible to have the same for other services? I'm primarily looking for OS FSBackend. Could be possible with https://crates.io/crates/trash. Accidentally deleting files can be risky so having a way to safely move to trash would be great. For those that doesn't support trash an option could be to move to a different folder when calling delete. While I could have if..else, having an option when creating the operator would be great.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing Google Drive trash support and the OS FSBackend delete path, then examine whether the trash crate fits the requested behavior. Clarify the operator-creation option and fallback behavior for services without native trash; done means the intended scope and supported services are defined before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.