model

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package model defines shared types used across the contextception engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalysisOutput

type AnalysisOutput = schema.AnalysisOutput

type BlastRadius

type BlastRadius = schema.BlastRadius

type ChangeReport

type ChangeReport = schema.ChangeReport

Type aliases — all 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

Type aliases — all 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 TestEntry

type TestEntry = schema.TestEntry

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL