reveal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2019 License: MIT Imports: 10 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.Module
	Original string
	Override string
	Version  string
}

type Replacements

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

func FindReplacements

func FindReplacements(logger *logrus.Logger, graph *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(logger *logrus.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