Documentation
¶
Index ¶
- func SetupTestServer(t *testing.T) *mcp.ClientSession
- type MockScanner
- func (m *MockScanner) GetFileContent(ctx context.Context, repo, path string) (string, error)
- func (m *MockScanner) ListRepos() []scanner.RepoInfo
- func (m *MockScanner) SearchDocs(query string) []scanner.FileEntry
- func (m *MockScanner) Status() (bool, time.Time, int)
- func (m *MockScanner) TriggerScan() bool
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 (*MockScanner) ListRepos ¶
func (m *MockScanner) ListRepos() []scanner.RepoInfo
func (*MockScanner) SearchDocs ¶
func (m *MockScanner) SearchDocs(query string) []scanner.FileEntry
func (*MockScanner) TriggerScan ¶
func (m *MockScanner) TriggerScan() bool
Click to show internal directories.
Click to hide internal directories.