mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Create directory when overwrite option is set #533
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rhuesken on GitHub (Aug 24, 2022).
In 0.32.2, I found that I need to create the "destination" directory first, in order for this call to succeed:
This was working fine with 0.28.2, which creates the "destination" directory if it does not exists. Is this the same issue as #614 ? I have the impression it should have been fixed in 0.29.0... Is that correct?
@Erior commented on GitHub (Aug 25, 2022):
From what I can see, the 0.29 change checks that you have already created it before calling WriteEntryToDirectory
@adamhathcock commented on GitHub (Sep 6, 2022):
Maybe overwrite should always create the directory. Can't recall the reason for change at the moment