Skip to main content

validate_target

Function validate_target 

Source
pub fn validate_target(argv: &[String], cwd: Option<&str>) -> Result<()>
Expand description

Validate a resume target without encoding it.

Adapters call this at the boundary so an invalid target is rejected once instead of failing (and warning) on every flush. Encoding still re-checks, so this is a fast path, not a trust boundary.