MCPcopy
hub / github.com/21st-dev/1code / has

Method has

src/renderer/features/mentions/registry.ts:133–135  ·  view source on GitHub ↗

* Check if a provider is registered

(id: MentionProviderId)

Source from the content-addressed store, hash-verified

131 * Check if a provider is registered
132 */
133 has(id: MentionProviderId): boolean {
134 return this.providers.has(id)
135 }
136
137 /**
138 * Get available providers for a context

Callers 15

terminal-tabs.tsxFile · 0.45
AgentsSubChatsSidebarFunction · 0.45
handleSubChatClickFunction · 0.45
handleSubChatItemClickFunction · 0.45
agents-sidebar.tsxFile · 0.45
AgentsSidebarFunction · 0.45
ChangesViewFunction · 0.45
groupFilesByFolderFunction · 0.45
registerMethod · 0.45
getCategoriesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected