modules

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleChangeReasonFile             = ModuleChangeReason("ModuleChangeReasonFile")
	ModuleChangeReasonModuleDependency = ModuleChangeReason("ModuleChangeReasonModuleDependency")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Changes

type Changes struct {
	ModuleName                 string              `json:"module_name"`
	ModulePath                 string              `json:"module_path"`
	PackagesModified           packages.Modified   `json:"packages_modified"`
	Reason                     ModuleChangeReason  `json:"reason"`
	ModuleDependencyImportPath packages.ImportPath `json:"module_dependency_import_path,omitempty"`
}

type ModuleChangeReason

type ModuleChangeReason string

type Modules

type Modules struct {
	Modules []*Changes `json:"modules"`
}

func FromFilesChanged added in v0.1.0

func FromFilesChanged(fileChanged []string) (*Modules, error)

func (Modules) Human

func (m Modules) Human()

func (Modules) HumanVerbose

func (m Modules) HumanVerbose()

func (Modules) Json

func (m Modules) Json()

Jump to

Keyboard shortcuts

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