Skip to main content

args_request_dryrun

Function args_request_dryrun 

Source
pub fn args_request_dryrun(args: &[String]) -> bool
Expand description

Whether the CLI args request a dry-run (any dryrun=<mode> with a non-empty, non-false value). A dry-run is resume-INERT: it must NOT claim the latest symlink and must NOT write a checkpoint, so a later --resume-latest can never pick a dry-run up and resume from its (placeholder / short-circuited) phases (SRD-44). Detected from raw args so both Session::new_with_args (the latest claim) and SessionHost::setup (the checkpoint writer) gate on one signal.