MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / normalize

Function normalize

source code/utils/plugins/pluginOptionsStorage.ts:332–333  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

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

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