pub fn local_range_write(edit: &RangeEdit) -> Result<EditResult, String>Expand description
Apply a resolved RangeEdit to disk (headless). Reads the file, optionally
verifies expected_hash against the current bytes covered by range
(mismatch → CONFLICT), replaces the range with text, writes atomically,
and returns the post-edit range + a compact diff.