Add FileWorker.delete() method #9
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ModernLeft/athena-file#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Filed in support of athena-archive-api #81 (couple BE tightly with athena-file). The BE currently bypasses athena-file for file deletion — `Path.unlink()` directly in `routers/media/delete.py` and a custom `_remove_dir()` recursive helper in `routers/media/utils.py`. Routing those through athena-file would let the library maintain hash/index consistency on delete.
Plan
Add `FileWorker.delete()` that:
Acceptance criteria