mirror of
https://github.com/matze/wastebin.git
synced 2026-04-25 08:36:00 +03:00
[GH-ISSUE #116] Move deletion of entries into Database and use proper types in that case #70
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wastebin-matze#70
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?
Originally created by @matze on GitHub (Feb 9, 2025).
Original GitHub issue: https://github.com/matze/wastebin/issues/116
Originally assigned to: @matze on GitHub.
As of now, we simply have a boolean field
must_be_deletedand all users of theDatabase::get()function must act appropriately. Ideally, we do deletion because of expiration or first-time fetch in side that function and return an appropriate enum value for all cases, i.e. instead of having a direct database representation, it would be