Skip to main content

sort_file

Function sort_file 

Source
pub fn sort_file(
    path: &Path,
    keys: &[(String, bool)],
    out: &Path,
    wanted: &Plan,
) -> Result<u64>
Expand description

Read a file, sort it by a column, and write it again.

Returns how many bytes the new file takes.