pub fn run_io(params: &EditParams, last_mode: &str) -> (String, CacheEffect)Expand description
Performs the full edit on disk without touching the session cache, and
reports back the CacheEffect the caller should apply afterwards.
last_mode is the cache’s recorded read mode for the path (used only to
decide whether to auto-escalate on a not-found match); pass "" when unknown.