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

copyFileSync from one file system to another #747

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alexvgjm
Copy link

@alexvgjm alexvgjm commented Nov 20, 2022

A simple workaround that met my needs. If it seems correct to you, I will make the similar asynchronous versions or with the corrections that you propose.

It checks if src and dest point to the same fs. If not the case, it will read from src fs and write to dest fs.

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.

None yet

1 participant