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

Function moduleForFile

graph-ui/src/provider/cypher.ts:325–328  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

323 * auseinandergehen.
324 */
325export function moduleForFile(filePath: string): string {
326 return `MATCH (n:${MODULE_LABEL}) WHERE n.${NODE_PROPS.filePath} = "${escapeLiteral(filePath)}"`
327 + ` ${ret(COLUMNS.moduleForFile)} LIMIT 1`;
328}
329
330/**
331 * Der File-Knoten einer Datei, nur sein qualifizierter Name.

Callers 3

lookupModuleNodeFunction · 0.90
SourceEvidenceDrawerFunction · 0.90

Calls 2

escapeLiteralFunction · 0.85
retFunction · 0.85

Tested by

no test coverage detected