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

feat: Create directory hierarchy if not exists #1068

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ghost1face
Copy link

When using the deferred file operations as a means of driving an update feature. I realized that only files in folders that exist will be written. If the folder hierarchy does not exist, then the file will not be written:

This mitigates the issue by ensuring the directory has been created before attempting to move or replace the file

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