Preserve File Metadata Times When Archiving Files #12
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BitGoblin/Zealot#12
Loading…
Reference in New Issue
Block a user
No description provided.
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?
It would be useful for the file archival to preserve the file's creation, access, and modification times.
There currently is no built-in support for setting these file metadata attributes.
Using the filetime crate to handle reading and setting the file's access and modification times.
Currently there is no function to set a file's creation time, maybe this will be a future feature?
I found this
fs::set_permissions
function in the std::fs library: https://doc.rust-lang.org/std/fs/fn.set_permissions.htmlThis is handled in
ed4173f3dc
.Added in v0.2.5