info

package
v0.0.0-...-522a375 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeInfo

type ChangeInfo struct {
	Path      string
	IsDeleted bool
}

func ParseGitChanges

func ParseGitChanges(changesContent string) ([]ChangeInfo, error)

type Config

type Config struct {
	Ignored
}

func NewConfig

func NewConfig(ignoredExpressions ...string) Config

type DirReader

type DirReader interface {
	Read(path string) ([]models.DirEntry, error)
}

type FileOpener

type FileOpener interface {
	OpenRead(path string) (io.ReadCloser, error)
}

type Ignored

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

func (Ignored) IsIgnored

func (i Ignored) IsIgnored(path string) bool

type PackageInfo

type PackageInfo struct {
	Path          string
	Dependencies  []string
	ContainsTests bool
}

type PackageReader

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

func NewPackageReader

func NewPackageReader(dirReader DirReader, fileOpener FileOpener, cfg Config) PackageReader

func (PackageReader) ReadRecursively

func (r PackageReader) ReadRecursively(root, moduleName string) ([]PackageInfo, error)

Jump to

Keyboard shortcuts

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