MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isJetBrainsPluginInstalledCached

Function isJetBrainsPluginInstalledCached

src/utils/jetbrains.ts:171–180  ·  view source on GitHub ↗
(
  ideType: IdeType,
  forceRefresh = false,
)

Source from the content-addressed store, hash-verified

169}
170
171export async function isJetBrainsPluginInstalledCached(
172 ideType: IdeType,
173 forceRefresh = false,
174): Promise<boolean> {
175 if (forceRefresh) {
176 pluginInstalledCache.delete(ideType)
177 pluginInstalledPromiseCache.delete(ideType)
178 }
179 return isJetBrainsPluginInstalledMemoized(ideType, forceRefresh)
180}
181
182/**
183 * Returns the cached result of isJetBrainsPluginInstalled synchronously.

Callers 1

isIDEExtensionInstalledFunction · 0.85

Calls 2

deleteMethod · 0.65

Tested by

no test coverage detected