modules

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 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 FromChanges

func FromChanges(changes merkletrie.Changes) (*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