query

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(s *store.Store) *Service

func (*Service) FindCallees

func (s *Service) FindCallees(ctx context.Context, repoID int64, symbol string, symbolID int64, limit int) ([]graph.Symbol, error)

func (*Service) FindCallers

func (s *Service) FindCallers(ctx context.Context, repoID int64, symbol string, symbolID int64, limit int) ([]graph.Symbol, error)

func (*Service) FindSymbol

func (s *Service) FindSymbol(ctx context.Context, repoID int64, query string, limit int) ([]graph.Symbol, error)

func (*Service) ImpactRadius

func (s *Service) ImpactRadius(ctx context.Context, repoID int64, symbols []string, files []string, depth int) (map[string]any, error)

func (*Service) RelatedTests

func (s *Service) RelatedTests(ctx context.Context, repoID int64, symbol, file string, limit int) ([]store.RelatedTest, error)

func (*Service) SearchSymbols

func (s *Service) SearchSymbols(ctx context.Context, repoID int64, query string, limit int) ([]graph.Symbol, error)

func (*Service) SemanticSearch

func (s *Service) SemanticSearch(ctx context.Context, repoID int64, query string, limit int) ([]map[string]any, error)

func (*Service) Stats

func (s *Service) Stats(ctx context.Context, repoID int64) (graph.Stats, error)

Jump to

Keyboard shortcuts

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