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.FileData, []string, error)
ProcessFile(filePath string, sourceCode []byte) []string
GeneratePrompt(codes []string, history []string, userInput string, requestedContext string) (string, string)
ExtractCodeChanges(text string) ([]models.CodeChange, error)
ApplyChanges(relativePath string) error
TryGetInCompletedCodeBlocK(relativePaths string) (string, error)
}
Click to show internal directories.
Click to hide internal directories.