Skip to content

feat: Create directory hierarchy if not exists - #1068

Open
ghost1face wants to merge 1 commit into
winsw:v2from
ghost1face:create-folders
Open

ghost1face wants to merge 1 commit into
winsw:v2from
ghost1face:create-folders

Conversation

@ghost1face

Copy link
Copy Markdown

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

@oleg-nenashev oleg-nenashev added this to the 2.x milestone Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants