Documentation
¶
Overview ¶
Package model defines shared types used across the contextception engine.
Index ¶
- type AggregateRisk
- type AnalysisOutput
- type BlastRadius
- type ChangeReport
- type ChangeSummary
- type ChangedFile
- type CouplingPair
- type ExternalDependency
- type HiddenCouplingEntry
- type ImportFact
- type IndexStats
- type LikelyModifyEntry
- type MustReadEntry
- type RelatedEntry
- type ResolveResult
- type RiskTriage
- type TestEntry
- type TestSuggestion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateRisk ¶ added in v1.0.7
type AggregateRisk = schema.AggregateRisk
type AnalysisOutput ¶
type AnalysisOutput = schema.AnalysisOutput
type BlastRadius ¶
type BlastRadius = schema.BlastRadius
type ChangeReport ¶
type ChangeReport = schema.ChangeReport
ChangeReport and related types are aliases so existing code continues using model.X unchanged.
type ChangeSummary ¶
type ChangeSummary = schema.ChangeSummary
type ChangedFile ¶
type ChangedFile = schema.ChangedFile
type CouplingPair ¶
type CouplingPair = schema.CouplingPair
type ExternalDependency ¶
type ExternalDependency = schema.ExternalDependency
ExternalDependency and related types are aliases so existing code continues using model.X unchanged.
type HiddenCouplingEntry ¶
type HiddenCouplingEntry = schema.HiddenCouplingEntry
type ImportFact ¶
type ImportFact struct {
Specifier string // e.g. "foo.bar" or ".utils"
ImportType string // "absolute", "relative"
LineNumber int
ImportedNames []string // e.g. ["baz", "qux"] for "from foo.bar import baz, qux"
}
ImportFact represents a single import extracted from a source file.
type IndexStats ¶
type IndexStats = schema.IndexStats
type LikelyModifyEntry ¶
type LikelyModifyEntry = schema.LikelyModifyEntry
type MustReadEntry ¶
type MustReadEntry = schema.MustReadEntry
type RelatedEntry ¶
type RelatedEntry = schema.RelatedEntry
type ResolveResult ¶
type ResolveResult struct {
ResolvedPath string // repo-relative path, empty if external
External bool
ResolutionMethod string // "relative", "package_local", "external"
Reason string // explanation when unresolved
}
ResolveResult represents the outcome of resolving an import.
type RiskTriage ¶ added in v1.0.7
type RiskTriage = schema.RiskTriage
type TestSuggestion ¶ added in v1.0.7
type TestSuggestion = schema.TestSuggestion
Click to show internal directories.
Click to hide internal directories.