package
2.0.0+incompatible
Repository: https://github.com/mkchoi212/fac.git
Documentation: pkg.go.dev

# Functions

ExtractConflicts extracts all conflicts from the provided `File` It returns an error if it fails to parse the conflict markers and if syntax highlighting fatally fails TODO: Prevent crashes from syntax highlighting.
Find runs `git --no-pager diff --check` in order to detect git conflicts It returns an array of `File`s where each `File` contains conflicts within itself If the parsing fails, it returns an error.
GroupConflictMarkers groups the provided lines of a file into individual `Conflict` structs It returns an error if the line contains invalid number of conflicts.

# Constants

Represents user's conflict resolution decision.
Represents user's conflict resolution decision.

# Variables

ErrInvalidManualInput is thrown when the manual code editing session results in deletion of the conflict markers in the text.

# Structs

Conflict represents a single conflict that may have occurred.
File represents a single file that contains git merge conflicts.