Function sortery::tools::sort::sort [−][src]
pub fn sort(
source: &File,
target: &File,
date_format: &str,
date_type: &str,
preserve_name: &bool,
exclude_type: (&str, bool),
only_type: (&str, bool),
dry_run: bool
)Expand description
The main sort function used by the command-line interface. Each parameter
corresponds with the parameter in get_sorting_results of the same name,
with the exception of dry_run.
If dry_run is true, will print the intended sort without acutally sorting.