pub fn apply( wt_root: &Path, tmp: &Path, diff: &str, ) -> Result<(), CandidateRefusal>
Applies diff in wt_root after git apply --check. Err: the refusal with git’s rejected hunks.
diff
wt_root
git apply --check
Err