We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af81314 commit c979b22Copy full SHA for c979b22
src/index.rs
@@ -518,6 +518,15 @@ impl Index {
518
Ok(())
519
}
520
521
+ /// Removes the index entries that represent a conflict of a single file.
522
+ pub fn conflict_remove(&mut self, path: &Path) -> Result<(), Error> {
523
+ let path = path_to_repo_path(path)?;
524
+ unsafe {
525
+ try_call!(raw::git_index_conflict_remove(self.raw, path));
526
+ }
527
+ Ok(())
528
529
+
530
/// Remove all matching index entries.
531
///
532
/// If you provide a callback function, it will be invoked on each matching
0 commit comments