Skip to content

Preserve file creation time on macOS and Windows #13561

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

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

Conversation

simonomi
Copy link

When saving, helix backs up the original file, then creates a new file at the original location. This means that the creation time of the file is reset to the current time. The old file metadata is copied to the new file, but this doesn't include creation date. Setting a file's creation date is only available on macOS and Windows, so this pull request adds the functionality for those platforms.

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.

1 participant