-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
[RFC] copy recursively #32
Conversation
When globbing the contents of a directory with Also, since you are going to be calling |
Can be racy. |
@jamestalmage Is that something that could maybe be added to |
I really like the idea of a two step process. My only concern is that it might cause some race issues. What if something in the filesystem hierarchy changes between step 1 and 2? For example, we glob |
Would be better to do this in |
@schnittstabil What are your thoughts on this now? |
Closing in favor of #61 |
At least copying recursively makes it necessary to use a two step approach:
Substantial advantages:
The current approach of the first step:
globby
to gather all files and directoriespath + '/**/*'
@ALL Comments on all aspects are highly welcome.