This document shows Go type definitions from the codebase.
Generated types:
types/generated/typescript/github.tstypes/generated/rust/github.rstypes/generated/python/github.pySource: qntx-code/vcs/github/types.go:60
type CachedPatch struct {
ID int64
FixID string
FilePath string
Issue string
Severity string
Confidence float64
CreatedAt time.Time
}
Source: qntx-code/vcs/github/types.go:29
type FixContext struct {
ProblematicCode string
SurroundingCode string
FileContent string
}
Source: qntx-code/vcs/github/types.go:38
type FixResult struct {
Transform *ast.ASTTransformation `json:"transform,omitempty"`
Reasoning string `json:"reasoning"`
Confidence float64 `json:"confidence"`
}
Source: qntx-code/vcs/github/types.go:13
type FixSuggestion struct {
ID string `json:"id"`
Category string `json:"category"`
Title string `json:"title"`
File string `json:"file"`
StartLine int `json:"start_line"`
EndLine int `json:"end_line"`
StartCharacter int `json:"start_character,omitempty"`
Issue string `json:"issue"`
Severity string `json:"severity"`
Patch string `json:"patch"`
}
Source: qntx-code/vcs/github/pr_detection.go:18
type GitHubPR struct {
Number int `json:"number"`
Title string `json:"title"`
State string `json:"state"`
}
Source: qntx-code/vcs/github/github.go:337
type PRInfo struct {
Number int `json:"number"`
Title string `json:"title"`
Author string `json:"author"`
State string `json:"state"`
}
Source: qntx-code/vcs/github/types.go:50
type PatchResult struct {
Suggestion *FixSuggestion
Patch *FixResult
Error error
PatchID int64
}
Source: qntx-code/vcs/github/types.go:72
type StalenessInfo struct {
IsStale bool
ReviewTime string
FileModTime string
FileCommits int
PackageCommits int
ElsewhereCommits int
}