Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dependency ¶
func ParseDependencyTree ¶
func ParseDependencyTree(stdin string) ([]Dependency, map[Dependency][]Dependency, error)
func ReadDependencyTree ¶
func ReadDependencyTree(lines []string, parser LineParser) ([]Dependency, map[Dependency][]Dependency, error)
type LineParser ¶
type LineParser func(line string) (level int, node Dependency, err error)
level is 1-indexed
type Manifest ¶
type Manifest struct { Project xml.Name `xml:"project"` Parent Parent `xml:"parent"` Modules []string `xml:"modules>module"` ArtifactID string `xml:"artifactId"` GroupID string `xml:"groupId"` Version string `xml:"version"` Description string `xml:"description"` Name string `xml:"name"` URL string `xml:"url"` }
type Maven ¶
type Maven struct {
Cmd string
}
func (*Maven) DependencyTree ¶
func (m *Maven) DependencyTree(dir, project string) ([]Dependency, map[Dependency][]Dependency, error)
Click to show internal directories.
Click to hide internal directories.