MCPcopy
hub / github.com/codeaashu/claude-code / getPluginDataDir

Function getPluginDataDir

src/utils/plugins/pluginDirectories.ts:119–123  ·  view source on GitHub ↗
(pluginId: string)

Source from the content-addressed store, hash-verified

117 * and their sync iteration loops. One mkdir in plugin-load path is cheap.
118 */
119export function getPluginDataDir(pluginId: string): string {
120 const dir = pluginDataDirPath(pluginId)
121 mkdirSync(dir, { recursive: true })
122 return dir
123}
124
125/**
126 * Size of the data dir for the uninstall confirmation prompt. Returns null

Callers 4

execCommandHookFunction · 0.85

Calls 2

mkdirSyncFunction · 0.90
pluginDataDirPathFunction · 0.85

Tested by

no test coverage detected