service

package
v0.0.0-...-6320ad3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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 (rs *RepoService) GetFunctionCallers(ctx context.Context, repoName, relativePath, functionName string, depth int) (*model.CallGraph, error)

func (*RepoService) GetFunctionDependencies

func (rs *RepoService) GetFunctionDependencies(ctx context.Context, repoName, relativePath, functionName string, depth int) (*model.CallGraph, error)

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL