Skip to content

JCRVLT-830 check if a subfolder can be removed#416

Draft
joerghoh wants to merge 7 commits intomasterfrom
JCRVLT-830-2
Draft

JCRVLT-830 check if a subfolder can be removed#416
joerghoh wants to merge 7 commits intomasterfrom
JCRVLT-830-2

Conversation

@joerghoh
Copy link
Contributor

Implemented some additional checks to prevent the removal of unexpected files.

@joerghoh joerghoh requested a review from kwin February 26, 2026 13:52
return false;
}
}
NodeIterator children = node.getNodes();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For performance reason I wouldn't iterate over all properties/children from the repo but just over all filter rules. That is enough to determine the outcome and should be way faster....

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, so you mean, that if the node is not affected, any childnode of it (and their properties) cannot be affected as well?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A filter without includes/excludes always covers everything below

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.

2 participants