MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / samePath

Function samePath

graph-ui/src/projects/AddProjectIndexDialog.tsx:33–35  ·  view source on GitHub ↗
(left: string | undefined, right: string)

Source from the content-addressed store, hash-verified

31 return /^[A-Za-z]:/.test(normal) || normal.startsWith('//') ? normal.toLowerCase() : normal;
32}
33function samePath(left: string | undefined, right: string): boolean {
34 return !!left && comparablePath(left) === comparablePath(right);
35}
36/** Mirror portable name mapping, using the existing basename suggestion. */
37function normalizedName(name: string): string {
38 let result = '';

Callers 4

pollFunction · 0.85
AddProjectIndexDialogFunction · 0.85
useFolderFunction · 0.85
startFunction · 0.85

Calls 1

comparablePathFunction · 0.85

Tested by

no test coverage detected