Documentation
¶
Index ¶
- type RepoService
- func (rs *RepoService) GetConfig() *config.Config
- func (rs *RepoService) GetFunctionCallers(ctx context.Context, repoName, relativePath, functionName string, depth int) (*model.CallGraph, error)
- func (rs *RepoService) GetFunctionDependencies(ctx context.Context, repoName, relativePath, functionName string, depth int) (*model.CallGraph, error)
- func (rs *RepoService) GetFunctionDetails(repoName, relativePath, functionName string) (*model.GetFunctionDetailsResponse, error)
- func (rs *RepoService) GetFunctionHovers(ctx context.Context, repoName string, functions []model.FunctionDefinition) ([]string, error)
- func (rs *RepoService) GetLspService() *lsp.LspService
- func (rs *RepoService) PrepareLanguageServer(repoName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoService ¶
type RepoService struct {
// contains filtered or unexported fields
}
func NewRepoService ¶
func NewRepoService(config *config.Config, logger *zap.Logger) *RepoService
func (*RepoService) GetConfig ¶
func (rs *RepoService) GetConfig() *config.Config
func (*RepoService) GetFunctionCallers ¶
func (*RepoService) GetFunctionDependencies ¶
func (*RepoService) GetFunctionDetails ¶
func (rs *RepoService) GetFunctionDetails(repoName, relativePath, functionName string) (*model.GetFunctionDetailsResponse, error)
func (*RepoService) GetFunctionHovers ¶
func (rs *RepoService) GetFunctionHovers(ctx context.Context, repoName string, functions []model.FunctionDefinition) ([]string, error)
func (*RepoService) GetLspService ¶
func (rs *RepoService) GetLspService() *lsp.LspService
func (*RepoService) PrepareLanguageServer ¶
func (rs *RepoService) PrepareLanguageServer(repoName string) error
PrepareLanguageServer initializes the language server for a repository upfront. This is useful for index building to ensure LSP is ready before post-processing.
Click to show internal directories.
Click to hide internal directories.