Skip to content

feat: add support for config-based excludePrefixes - #12

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

feat: add support for config-based excludePrefixes#12
pike00 wants to merge 1 commit into
mainfrom
pike00/attribution-prompt-5

Conversation

@pike00

@pike00 pike00 commented Jul 31, 2026

Copy link
Copy Markdown
Owner

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

This patch introduces the `excludePrefixes` optional property to
`PeerStorageConf` and implements `isExcludedPath()` in `PeerStorage`.
The functionality is integrated into `put`, `delete`, `dispatch`,
`dispatchDeleted`, and the offline scanning loop so that matching paths
are bypassed.

A test has been added to `tests/Patch5.test.ts` to verify the logic.
@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