MCPcopy Index your code
hub / github.com/github/github-mcp-server / Add

Method Add

pkg/tooldiscovery/search.go:276–282  ·  view source on GitHub ↗
(part string)

Source from the content-addressed store, hash-verified

274}
275
276func (m *matchTracker) Add(part string) {
277 if _, ok := m.seen[part]; ok {
278 return
279 }
280 m.seen[part] = struct{}{}
281 m.list = append(m.list, part)
282}
283
284func (m *matchTracker) List() []string {
285 return m.list

Callers 13

AddSubIssueFunction · 0.80
Test_GetMeFunction · 0.80
Test_GetTeamsFunction · 0.80
Test_GetIssueCommentsFunction · 0.80
Test_GetCommitFunction · 0.80
Test_ListCommitsFunction · 0.80
getRepoAccessInfoMethod · 0.80
scoreToolFunction · 0.80

Calls

no outgoing calls

Tested by 10

Test_GetMeFunction · 0.64
Test_GetTeamsFunction · 0.64
Test_GetIssueCommentsFunction · 0.64
Test_GetCommitFunction · 0.64
Test_ListCommitsFunction · 0.64
waitForTokenFunction · 0.64