MCPcopy
hub / github.com/claude-code-best/claude-code / removeFlaggedPlugin

Function removeFlaggedPlugin

src/utils/plugins/pluginFlagging.ts:199–208  ·  view source on GitHub ↗
(pluginId: string)

Source from the content-addressed store, hash-verified

197 * a flagged plugin notification in /plugins.
198 */
199export async function removeFlaggedPlugin(pluginId: string): Promise<void> {
200 if (cache === null) {
201 cache = await readFromDisk()
202 }
203 if (!(pluginId in cache)) return
204
205 const { [pluginId]: _, ...rest } = cache
206 cache = rest
207 await writeToDisk(rest)
208}

Callers 1

ManagePluginsFunction · 0.85

Calls 2

readFromDiskFunction · 0.85
writeToDiskFunction · 0.85

Tested by

no test coverage detected