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

File's creation and modified dates are set to decompressed date #23

Open
shurale85 opened this issue Jun 22, 2023 · 0 comments
Open

File's creation and modified dates are set to decompressed date #23

shurale85 opened this issue Jun 22, 2023 · 0 comments

Comments

@shurale85
Copy link

shurale85 commented Jun 22, 2023

Hi!
File's creation and modified dates are wring and set to decompressed date so each decompressing iteration gives the different creation and modified date. How to get original creation and modified date of the decompressed files?

I decompress files as
plzma_decoder_extract_all_items_to_path(&decoder, &pathObject, itemsFullPath)

then I read dates from files attributes
try fileManager.attributesOfItem(atPath: path.path)

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

No branches or pull requests

1 participant