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

Function normalize

src/utils/plugins/pluginOptionsStorage.ts:330–331  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

328 plugin: { path: string; source?: string },
329): string {
330 const normalize = (p: string) =>
331 process.platform === 'win32' ? p.replace(/\\/g, '/') : p
332 let out = value.replace(/\$\{CLAUDE_PLUGIN_ROOT\}/g, () =>
333 normalize(plugin.path),
334 )

Callers 15

normalizeForCompareFunction · 0.70
getMethod · 0.50
setMethod · 0.50
hasMethod · 0.50
deleteMethod · 0.50
isMemoryDirectoryFunction · 0.50
expandPathFunction · 0.50
isSessionPlanFileFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected