Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CorpseFinder: Remove impossible exclusion actions for corpse content items #487

Merged
merged 3 commits into from
Jul 7, 2023

Conversation

d4rken
Copy link
Member

@d4rken d4rken commented Jul 7, 2023

Corpses that have content items are always folders.
If we create exclusions for content items, we must always exclude the top level item, i.e. the root corpse itself -> removing the whole entry.

So excluding a content item is always the same as excluding the whole corpse.
So to reduce confusion here, I removed the exclusion context option for content items.

In some cases we removed more results than necessary and in other cases we didn't remove enough (parents of nested exclusion targets).
@d4rken d4rken merged commit b9e465c into main Jul 7, 2023
9 checks passed
@d4rken d4rken deleted the corpsefinder_impossible_exclusions branch July 7, 2023 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant