conflict

package
v1.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Solve

func Solve(in io.Reader, out io.Writer, filePath string, fileA, fileB []byte) ([]byte, error)

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewModel

func NewModel(filePath string, fileA, fileB []byte) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Result added in v1.0.0

func (m Model) Result() []byte

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

TODO: Make merge conflict solving more advanced instead of just file override confirmation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL