Skip to content

Commit

Permalink
Update comments related to ThreeWayDiff
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaindik committed Sep 16, 2024
1 parent 6483996 commit 6479c09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export interface ThreeWayDiff<TValue> {
* True if:
* - base=A, current=A, target=B
* - base=A, current=B, target=C
* - base=<missing>, current=A, target=B
*/
has_update: boolean;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

/**
* Enum of possible conflict outcomes of a three-way diff:
* - NON_SOLVABLE_CONFLICT: current != target and we couldn't automatically resolve the conflict between them
* - SOLVABLE_CONFLICT: current != target and we automatically resolved the conflict between them
* - NON_SOLVABLE: current != target and we couldn't automatically resolve the conflict between them
* - SOLVABLE: current != target and we automatically resolved the conflict between them
* - NO_CONFLICT:
* - current == target (value won't change)
* - current != target && current == base (stock rule will get a new value)
Expand Down

0 comments on commit 6479c09

Please sign in to comment.