Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAll ¶
func RegisterAll(reg *Registry)
Types ¶
type DependencyParser ¶
type GoModParser ¶
type GoModParser struct{}
func NewGoModParser ¶
func NewGoModParser() *GoModParser
func (*GoModParser) Detect ¶
func (p *GoModParser) Detect(dir string) bool
func (*GoModParser) Ecosystem ¶
func (p *GoModParser) Ecosystem() types.Ecosystem
func (*GoModParser) Parse ¶
func (p *GoModParser) Parse(dir string) (*types.DependencyGraph, error)
type NodeParser ¶
type NodeParser struct{}
func NewNodeParser ¶
func NewNodeParser() *NodeParser
func (*NodeParser) Detect ¶
func (p *NodeParser) Detect(dir string) bool
func (*NodeParser) Ecosystem ¶
func (p *NodeParser) Ecosystem() types.Ecosystem
func (*NodeParser) Parse ¶
func (p *NodeParser) Parse(dir string) (*types.DependencyGraph, error)
type PythonParser ¶
type PythonParser struct{}
func NewPythonParser ¶
func NewPythonParser() *PythonParser
func (*PythonParser) Detect ¶
func (p *PythonParser) Detect(dir string) bool
func (*PythonParser) Ecosystem ¶
func (p *PythonParser) Ecosystem() types.Ecosystem
func (*PythonParser) Parse ¶
func (p *PythonParser) Parse(dir string) (*types.DependencyGraph, error)
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *Registry
func (*Registry) All ¶
func (r *Registry) All() []DependencyParser
func (*Registry) Detect ¶
func (r *Registry) Detect(dir string) []DependencyParser
func (*Registry) Register ¶
func (r *Registry) Register(p DependencyParser)
Click to show internal directories.
Click to hide internal directories.