pub struct SyncMetaOptions {
pub ref_override: Option<String>,
pub recurse: bool,
pub max_depth: Option<usize>,
pub force_prune: bool,
pub force_prune_with_ignored: bool,
}Expand description
Per-meta options threaded through sync_meta. Keeps the call-site
signature small without coupling to the full crate::sync::SyncOptions
surface — the orchestrator (sync.rs::run) is responsible for projecting
SyncOptions into SyncMetaOptions when it wires this entry point.
Fields§
§ref_override: Option<String>Global ref override (grex sync --ref <sha|branch|tag>). Mirrors
Walker::with_ref_override: when Some, every child’s
declared ref is replaced.
recurse: boolWhen true, Phase 3 recurses into child metas. false is the
doctor --shallow semantics: process only the immediate
children of the supplied meta.
max_depth: Option<usize>Bound on Phase 3 recursion depth. None is unbounded; Some(n)
caps at n levels of nesting (the supplied meta_dir is depth
0). Recursion ALWAYS halts before depth n+1.
force_prune: boolPhase 2 prune-safety override. Mirrors
crate::sync::SyncOptions::force_prune.
force_prune_with_ignored: boolPhase 2 prune-safety override. Mirrors
crate::sync::SyncOptions::force_prune_with_ignored.
Trait Implementations§
Source§impl Clone for SyncMetaOptions
impl Clone for SyncMetaOptions
Source§fn clone(&self) -> SyncMetaOptions
fn clone(&self) -> SyncMetaOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more