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) HumanVerbose ¶
func (m Modules) HumanVerbose()
Click to show internal directories.
Click to hide internal directories.