Skip to main content

process_files

Function process_files 

Source
pub fn process_files(
    rx: Receiver<PathBuf>,
    output_file_path: &PathBuf,
) -> Result<()>
Expand description

This module handles the processing of files. It receives file paths from the walker, reads their content, and writes it to the final output file.

ยงArguments

  • rx - The receiver end of a channel, which provides PathBufs from the walker.
  • output_file_path - The path to the file where content should be written.