summaryrefslogtreecommitdiff
path: root/src/policy.rs
AgeCommit message (Collapse)AuthorFilesLines
2023-01-07refactor: implement Default trait, instead just a function defaultLars Wirzenius1-2/+4
Found by clippy. Sponsored-by: author
2022-09-09chore: tidy up things to satisfy clippyLars Wirzenius1-3/+2
Sponsored-by: author
2022-03-06perf: reduce logging for, for performanceLars Wirzenius1-5/+1
Sponsored-by: author
2022-01-16docs: add some explanation of what Skipped should meanLars Wirzenius1-0/+9
Sponsored-by: author
2021-12-31docs: add documentation comments to crateLars Wirzenius1-0/+5
Also, make it an error for a public symbol to not be documented. Sponsored-by: author
2021-03-27refactor: rename BackupPoliy::new() to more idiomatic ::default()Lars Wirzenius1-1/+1
2021-02-07refactor: rename Reason::Error to Reason::GenerationLookupErrorLars Wirzenius1-1/+1
New name is more precise. The meaning of the enum variant hasn't changed.
2021-01-05refactor: move policy on whether to back up a file into a moduleLars Wirzenius1-0/+64
This commit also splits up the src/cmd/backup.rs module into other, smaller, more cohesive modules that are easier to understand and use.