We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1ae3b6 commit a16e040Copy full SHA for a16e040
src/index.rs
@@ -485,6 +485,18 @@ impl Index {
485
Ok(())
486
}
487
488
+ /// Removes the index entries that represent a conflict of a single file.
489
+ pub fn conflict_remove(&mut self, path: &Path) -> Result<(), Error> {
490
+ let path = path_to_repo_path(path)?;
491
+ unsafe {
492
+ try_call!(raw::git_index_conflict_remove(
493
+ self.raw,
494
+ path
495
+ ));
496
+ }
497
+ Ok(())
498
499
+
500
/// Remove all matching index entries.
501
///
502
/// If you provide a callback function, it will be invoked on each matching
0 commit comments