mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
964 B
964 B
id, title, status, assignee, parent, priority, tags, whitepaper
| id | title | status | assignee | parent | priority | tags | whitepaper | |||
|---|---|---|---|---|---|---|---|---|---|---|
| FILE-002 | File Deletion Job | Done | james | FILE-000 | High |
|
Section 4.4 |
Description
A job for handling file and directory deletion. This job will be orchestrated by the Action System and provides different modes for deletion, ensuring safe and reliable file removal.
Implementation Notes
- The
DeleteJobwill be defined insrc/operations/files/delete/job.rs. - It supports multiple deletion modes, including
TrashandPermanentdeletion. - The implementation includes platform-specific logic for finding the correct trash directory on Unix, macOS, and Windows.
- The job is resumable, tracking completed deletions to ensure it can recover from interruptions.
Acceptance Criteria
- The
FileDeleteActioncorrectly dispatches aDeleteJob. - The job can move files to the system's trash location.
- The job supports permanent file deletion.