Documentation
¶
Index ¶
- func Cleanup(fs filesystem.FileLoader) ([]string, diff.Diffs, error)
- func Full(prj *project.Project, logger *zap.SugaredLogger) ([]string, error)
- func Imports(self string, fix bool, targetPath string, fs filesystem.FileLoader) ([]string, diff.Diffs, error)
- func LoadDepsMap(projects project.Projects, minVersions int) (map[string]map[string][]string, error)
- func OnDepsUpgrade(prj *project.Project, up string, o string, n string, pSvc *project.Service, ...) error
- type Dependencies
- type Dependency
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶ added in v0.2.27
func Cleanup(fs filesystem.FileLoader) ([]string, diff.Diffs, error)
func Imports ¶ added in v0.2.27
func Imports(self string, fix bool, targetPath string, fs filesystem.FileLoader) ([]string, diff.Diffs, error)
func LoadDepsMap ¶ added in v0.2.28
Types ¶
type Dependencies ¶
type Dependencies []*Dependency
func (Dependencies) Get ¶
func (d Dependencies) Get(k string) *Dependency
type Dependency ¶
type Dependency struct { Key string `json:"key"` Version string `json:"version,omitempty"` Available string `json:"available,omitempty"` References []string `json:"references,omitempty"` }
func (*Dependency) AddRef ¶
func (d *Dependency) AddRef(r string)
func (*Dependency) String ¶
func (d *Dependency) String() string
Click to show internal directories.
Click to hide internal directories.