Skip to content

Make file deletion idempotent in PeerStorage - #9

Open
pike00 wants to merge 1 commit into
mainfrom
pike00/attribution-prompt-2
Open

Make file deletion idempotent in PeerStorage#9
pike00 wants to merge 1 commit into
mainfrom
pike00/attribution-prompt-2

Conversation

@pike00

@pike00 pike00 commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Recreated from closed PR #3 to ensure the pull request and commit are attributed to @pike00.

Catch Deno.errors.NotFound in PeerStorage.delete() and return true so
the deletion is treated as successful even if the file is already gone.
Also adds a test to verify this behavior.
@pike00
pike00 marked this pull request as ready for review July 31, 2026 04:11
@cursor

cursor Bot commented Jul 31, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant