pub struct LoopConfig {Show 14 fields
pub directories: Vec<String>,
pub ignore: Vec<String>,
pub verbose: bool,
pub silent: bool,
pub add_aliases_to_global_looprc: bool,
pub include_filters: Option<Vec<String>>,
pub exclude_filters: Option<Vec<String>>,
pub parallel: bool,
pub dry_run: bool,
pub json_output: bool,
pub spawn_stagger_ms: u64,
pub env: Option<HashMap<String, String>>,
pub max_parallel: Option<usize>,
pub root_dir: Option<PathBuf>,
}Fields§
§directories: Vec<String>§ignore: Vec<String>§verbose: bool§silent: bool§add_aliases_to_global_looprc: bool§include_filters: Option<Vec<String>>§exclude_filters: Option<Vec<String>>§parallel: bool§dry_run: bool§json_output: bool§spawn_stagger_ms: u64Milliseconds to wait between spawning threads in parallel mode. Default is 0 (no stagger). Set to e.g. 10 to spread out connections.
env: Option<HashMap<String, String>>Environment variables to set for all command subprocesses. Tool-specific env vars (e.g., GIT_PAGER) should be set by the caller.
max_parallel: Option<usize>Maximum number of commands to run in parallel (pool size limit). When set, limits the rayon thread pool to this many threads. Use for operations with shared resources (e.g., SSH ControlMaster has a default session limit of 10).
root_dir: Option<PathBuf>The root directory of the meta workspace. When set, this directory is displayed as “.” or “. (basename)” instead of its full path, and is sorted first in output.
Trait Implementations§
Source§impl Clone for LoopConfig
impl Clone for LoopConfig
Source§fn clone(&self) -> LoopConfig
fn clone(&self) -> LoopConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoopConfig
impl Debug for LoopConfig
Source§impl Default for LoopConfig
impl Default for LoopConfig
Source§impl<'de> Deserialize<'de> for LoopConfig
impl<'de> Deserialize<'de> for LoopConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LoopConfig
impl RefUnwindSafe for LoopConfig
impl Send for LoopConfig
impl Sync for LoopConfig
impl Unpin for LoopConfig
impl UnwindSafe for LoopConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more