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

Add sorting by status change (ctime) on unix #218

Merged
merged 2 commits into from
Jul 1, 2023
Merged

Conversation

th1000s
Copy link
Contributor

@th1000s th1000s commented Jun 27, 2023

One use case for ctime is to find, or rather guess, which file was the original after cp -a was used. If a snapshot was taken of the filesystem, then keeping data of the one already in the snapshot saves space.

Also removed misleading dead code, this was not detected because the enum is public. I was wondering why Err(format!("The priority {s} is not supported on Windows")) would not run!

These are now derived directly from the enum names
The argument names for --priority are
most-recent-status-change and least-recent-status-change.
@pkolaczk pkolaczk merged commit cfd95f9 into pkolaczk:main Jul 1, 2023
1 check passed
@pkolaczk
Copy link
Owner

pkolaczk commented Jul 1, 2023

Thank you! :)

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.

2 participants