pub fn apply_patch( patch: &str, stdout: &mut impl Write, stderr: &mut impl Write, ) -> Result<(), PatchError>
Applies the patch and prints the result to stdout/stderr.