Function traverse_dir

Source
pub fn traverse_dir(input_dir: &PathBuf, output_dir: &PathBuf) -> Result<()>
Expand description

This is the function that you call to process a whole directory heirarcy full of files.

  • input_dir - The input path of the directory to read from
  • output_dir - The output path of the directory to write to
  • file_argsfile_args - The arguments for how to process the input