(filePath: string)
| 343 | |
| 344 | /** Whether the engine has a file node for `filePath`. Distinguishes "nothing here" from "not indexed". */ |
| 345 | export function fileExists(filePath: string): string { |
| 346 | return `MATCH (n:${FILE_LABEL}) WHERE n.${NODE_PROPS.filePath} = "${escapeLiteral(filePath)}"` |
| 347 | + ` ${ret(COLUMNS.fileExists)} LIMIT 1`; |
| 348 | } |
| 349 | |
| 350 | /** Outgoing invocations of a symbol, one row per distinct target. */ |
| 351 | export function callsOut(qualifiedName: string, limit = DEFAULT_LIMIT): string { |
no test coverage detected