MCPcopy Index your code
hub / github.com/PatrickSys/codebase-context / normalizePathLike

Function normalizePathLike

src/memory/store.ts:27–29  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

25}
26
27function normalizePathLike(value: string): string {
28 return value.replace(/\\/g, '/').replace(/^\.\//, '');
29}
30
31export function normalizeMemoryScope(raw: unknown): MemoryScope | undefined {
32 if (!isRecord(raw)) return undefined;

Callers 2

normalizeMemoryScopeFunction · 0.70
buildMemoryIdentityPartsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected