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

Function getProjectPathForScope

src/services/plugins/pluginOperations.ts:114–116  ·  view source on GitHub ↗
(scope: PluginScope)

Source from the content-addressed store, hash-verified

112 * Returns the original cwd for 'project' and 'local' scopes, undefined otherwise.
113 */
114export function getProjectPathForScope(scope: PluginScope): string | undefined {
115 return scope === 'project' || scope === 'local' ? getOriginalCwd() : undefined
116}
117
118/**
119 * Is this plugin enabled (value === true) in .claude/settings.json?

Callers 2

uninstallPluginOpFunction · 0.85
updatePluginOpFunction · 0.85

Calls 1

getOriginalCwdFunction · 0.85

Tested by

no test coverage detected