Enum git_workarea::Conflict [] [src]

pub enum Conflict {
    Path(PathBuf),
    SubmoduleNotMerged(PathBuf),
    SubmoduleNotPresent(PathBuf),
    SubmoduleWithFix(PathBufCommitId),
}

Representation of merge conflict possibilities.

Variants

A regular blob has conflicted.

A submodule points to a commit not merged into the target branch.

The submodule points to a commit not present in the main repository.

The submodule conflicts, but a resolution is available.

This occurs when the submodule points to a commit not on the first-parent history of the target branch on both sides of the merge. The suggested commit is the oldest commit on the main branch which contains both branches.

Methods

impl Conflict
[src]

[src]

The path to the blob that for the conflict.

Trait Implementations

impl Debug for Conflict
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Conflict
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.