Skip to main content

batch_files

Function batch_files 

Source
fn batch_files(
    files: &[PathBuf],
    max_bytes: usize,
    max_files: usize,
) -> Vec<&[PathBuf]>
Expand description

Split files into batches that fit in a command line and are small enough to spread across the available threads.