Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ICodeAnalyzer ¶
type ICodeAnalyzer interface {
GetProjectFiles(rootDir string) (*models.FullContextData, error)
ProcessFile(filePath string, sourceCode []byte) []string
GeneratePrompt(codes []string, history []string, userInput string, requestedContext string) (string, string)
ExtractCodeChanges(text string) []models.CodeChange
ApplyChanges(relativePath, code string) error
TryGetInCompletedCodeBlocK(relativePaths string) (string, error)
}
Click to show internal directories.
Click to hide internal directories.