reveal

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Replacement

type Replacement struct {
	Offender *modules.ModuleInfo
	Original string
	Override string
	Version  string
}

type Replacements

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

func FindReplacements

func FindReplacements(log *logger.Logger, g *depgraph.DepGraph) (*Replacements, error)

func (*Replacements) FilterOnOffendingModule

func (r *Replacements) FilterOnOffendingModule(offenders []string) *Replacements

func (*Replacements) FilterOnReplacedModule

func (r *Replacements) FilterOnReplacedModule(originals []string) *Replacements

func (*Replacements) Print

func (r *Replacements) Print(log *logger.Logger, writer io.Writer, offenders []string, targets []string) error

Jump to

Keyboard shortcuts

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