Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
SuppliedFiles map[string]bool
DirToFiles map[string][]string
JavaFiles []string
KotlinFiles []string
GoFiles []string
}
Context contains precomputed project data shared across language resolvers.
type Graph ¶
type Graph interface {
Vertex(hash string) (string, error)
AddEdge(sourceHash, targetHash string, options ...func(*graphlib.EdgeProperties)) error
}
Graph is the minimal graph contract language resolvers need during finalization.
type MaturityLevel ¶
type MaturityLevel int
MaturityLevel describes how complete a language's analysis support is.
const ( MaturityUntested MaturityLevel = iota MaturityBasicTests MaturityActivelyTested MaturityStable )
func MaturityLevels ¶
func MaturityLevels() []MaturityLevel
MaturityLevels returns the ordered set of known maturity levels.
func (MaturityLevel) DisplayName ¶
func (level MaturityLevel) DisplayName() string
func (MaturityLevel) Symbol ¶
func (level MaturityLevel) Symbol() string
type Module ¶
type Module interface {
Name() string
Extensions() []string
Maturity() MaturityLevel
NewResolver(ctx *Context, contentReader vcs.ContentReader) Resolver
IsTestFile(filePath string, contentReader vcs.ContentReader) bool
}
Module describes pluggable language support.
Click to show internal directories.
Click to hide internal directories.