testutils

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupTestServer

func SetupTestServer(t *testing.T) *mcp.ClientSession

Types

type MockScanner

type MockScanner struct{}

func (*MockScanner) GetFileContent

func (m *MockScanner) GetFileContent(_ context.Context, repo, path string) (string, error)

func (*MockScanner) ListRepos

func (m *MockScanner) ListRepos() []corescan.RepoInfo

func (*MockScanner) SearchDocs

func (m *MockScanner) SearchDocs(query string) []corescan.FileEntry

func (*MockScanner) Status

func (m *MockScanner) Status() (bool, time.Time, int)

func (*MockScanner) TriggerScan

func (m *MockScanner) TriggerScan() bool

Jump to

Keyboard shortcuts

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