checker

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckResult

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

func (*CheckResult) DependencyWarnings

func (res *CheckResult) DependencyWarnings() []WarningDep

func (*CheckResult) IsOk

func (res *CheckResult) IsOk() bool

func (*CheckResult) NotMatchedWarnings

func (res *CheckResult) NotMatchedWarnings() []WarningNotMatched

func (*CheckResult) TotalCount

func (res *CheckResult) TotalCount() int

type Checker

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

func NewChecker

func NewChecker(
	rootDirectory string,
	arch *spec.Arch,
	projectFiles []*models.ResolvedFile,
) *Checker

func (*Checker) Check

func (arc *Checker) Check() CheckResult

type WarningDep

type WarningDep struct {
	ComponentName      string
	FileRelativePath   string
	FileAbsolutePath   string
	ResolvedImportName string
}

type WarningNotMatched

type WarningNotMatched struct {
	FileRelativePath string
	FileAbsolutePath string
}

Jump to

Keyboard shortcuts

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