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: preserve files' modified at timestamp while copying #926

Merged

Conversation

Rolv-Apneseth
Copy link
Contributor

Closes #863

I couldn't find how to do this without a dependency, but if you like I could try copy how it's done in filetime (think it uses unsafe code though), or if you can think of another way that it can be done, do let me know.

@sxyazi sxyazi force-pushed the preserve-timestamp-when-copying-file branch from c116289 to f637463 Compare April 20, 2024 05:04
@sxyazi sxyazi changed the title feat: while copying, preserve files' modified and accessed at timestamps feat: preserve files' modified at timestamp while copying Apr 20, 2024
@sxyazi
Copy link
Owner

sxyazi commented Apr 20, 2024

Thanks!

@sxyazi sxyazi merged commit 80000cf into sxyazi:main Apr 20, 2024
5 checks passed
@Rolv-Apneseth Rolv-Apneseth deleted the preserve-timestamp-when-copying-file branch April 20, 2024 09:21
@Rolv-Apneseth
Copy link
Contributor Author

No problem

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preserve timestamp
2 participants