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

Ensure copyDirRecursively considers hidden directories and files #943

Merged

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Nov 19, 2020

Copy link
Member

@lassoan lassoan left a comment

Choose a reason for hiding this comment

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

It should be OK to change the default behavior but I would suggest to add a flag that allows reverting to the old behavior (i.e., filtering out hidden folders). For example, MacOS automatically creates junk folders (such as .DS_Store) that users may not want to include in the copy. Also update the documentation of the method in the header file.

@jcfr
Copy link
Member Author

jcfr commented Nov 19, 2020

Thanks for the review.

I would suggest to add a flag that allows reverting to the old behavior

Great idea. I will do so.

This commit adds an option to support previous behavior removed in
commit 3af0ecf (BUG: Ensure copyDirRecursively considers hidden
directories and files).
@jcfr jcfr merged commit 18715f1 into commontk:master Nov 19, 2020
@jcfr jcfr deleted the fix-ctkUtils-copyDirRecursively-hidden-dirs branch November 19, 2020 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

cannot see ShapeVariationAnalyzer module
2 participants