conflictresolver

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConflictResolvers = []ConflictResolver{
	&GoModResolver{},
	&YarnLockResolver{},
}

Functions

This section is empty.

Types

type ConflictResolver

type ConflictResolver interface {
	Name() string
	Detect(fileNames []string) bool
	Resolve(fileNames []string) error
}

type GoModResolver

type GoModResolver struct{}

func (*GoModResolver) Detect

func (r *GoModResolver) Detect(fileNames []string) bool

func (*GoModResolver) Name

func (r *GoModResolver) Name() string

func (*GoModResolver) Resolve

func (r *GoModResolver) Resolve(fileNames []string) error

type YarnLockResolver added in v0.2.0

type YarnLockResolver struct{}

func (*YarnLockResolver) Detect added in v0.2.0

func (r *YarnLockResolver) Detect(fileNames []string) bool

func (*YarnLockResolver) Name added in v0.2.0

func (r *YarnLockResolver) Name() string

func (*YarnLockResolver) Resolve added in v0.2.0

func (r *YarnLockResolver) Resolve(fileNames []string) error

Jump to

Keyboard shortcuts

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