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

Separate setting atime and mtime for symlinks #83

Open
Fran314 opened this issue Aug 11, 2022 · 1 comment
Open

Separate setting atime and mtime for symlinks #83

Fran314 opened this issue Aug 11, 2022 · 1 comment

Comments

@Fran314
Copy link

Fran314 commented Aug 11, 2022

Right now the only available function that allows you to set any type of time on a symlink is set_symlink_file_times which forces you to set both the atime and the mtime.

It would be useful to have, say, either two separate set_symlink_file_atime and set_symlink_file_mtime or making so that (like set_file_handle_times) the function set_symlink_file_times takes two Options for the atime and the mtime allowing you to set either one of those.

Is this something that is possible to add?

@ericzolf
Copy link

ericzolf commented Apr 5, 2023

Actually, I expected set_file_atime and set_file_mtime to do exactly this, but they simply ignored the symlink, so I second the request.

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

2 participants