From a4a47093209549bf51fe8a168efc74e05ba0091b Mon Sep 17 00:00:00 2001 From: Jonah Caplan Date: Fri, 15 Oct 2021 23:59:47 -0400 Subject: [PATCH] rename Option to Config --- src/exec/job.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/exec/job.rs b/src/exec/job.rs index 19c8bb0..0cc70ad 100644 --- a/src/exec/job.rs +++ b/src/exec/job.rs @@ -5,8 +5,8 @@ use std::sync::{Arc, Mutex}; use crate::error::print_error; use crate::exit_codes::{merge_exitcodes, ExitCode}; use crate::walk::WorkerResult; -use crate::options::Options; use crate::filesystem::strip_current_dir; +use crate::config::Config; use super::CommandTemplate; @@ -19,7 +19,7 @@ pub fn job( out_perm: Arc>, show_filesystem_errors: bool, buffer_output: bool, - config: &Arc, + config: &Arc, ) -> ExitCode { let mut results: Vec = Vec::new(); loop { @@ -58,7 +58,7 @@ pub fn batch( cmd: &CommandTemplate, show_filesystem_errors: bool, buffer_output: bool, - config: &Arc, + config: &Arc, ) -> ExitCode { let paths = rx.iter().filter_map(|value| match value { WorkerResult::Entry(val) => Some(val),