Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency interface { // TODO(ashmrtn): Add another function that points to the line the replacement // was done at. OriginalVersion() module.Version EffectiveVersion() module.Version Location() LocationTree }
type FileLocation ¶
type LocationTree ¶
type LocationTree interface { ParentPackage() string OriginalLocation() FileLocation EffectiveLocation() FileLocation Ancestor() LocationTree }
type PackageDependencies ¶
type PackageDependencies interface { Replacements() []Dependency GetDep(packagePath string) Dependency }
func NewProjectDependenciesFromModfile ¶
func NewProjectDependenciesFromModfile( parentModDecl Dependency, modFilePath string, ) (PackageDependencies, error)
Click to show internal directories.
Click to hide internal directories.