Documentation
¶
Overview ¶
Package model defines core data structures for repoguide.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallEdge ¶ added in v1.2.0
CallEdge represents a function-level call: Caller calls Callee. Both names are the qualified symbol names as they appear in definitions (e.g., "Server.Handle", "greet").
type CallSite ¶ added in v1.2.0
CallSite records a specific call occurrence with its source location.
type Dependency ¶
Dependency represents an edge in the dependency graph: Source references symbols defined in Target.
type RepoMap ¶
type RepoMap struct {
RepoName string
Root string
Files []FileInfo
Dependencies []Dependency
CallEdges []CallEdge
CallSites []CallSite
// Members holds field/method tags for focused --symbol --members queries.
// Empty in full-map mode.
Members []Tag
}
RepoMap is the complete analyzed repository map, ready for serialization.
type SymbolKind ¶
type SymbolKind string
SymbolKind indicates the syntactic kind of a symbol.
const ( Class SymbolKind = "class" Field SymbolKind = "field" Function SymbolKind = "function" Method SymbolKind = "method" Module SymbolKind = "module" )
Click to show internal directories.
Click to hide internal directories.