(filePath: string)
| 337 | * mit, und genau deshalb ist es der zweite Weg und nicht der erste. |
| 338 | */ |
| 339 | export function fileNodeForPath(filePath: string): string { |
| 340 | return `MATCH (n:${FILE_LABEL}) WHERE n.${NODE_PROPS.filePath} = "${escapeLiteral(filePath)}"` |
| 341 | + ` ${ret(COLUMNS.fileNode)} LIMIT 1`; |
| 342 | } |
| 343 | |
| 344 | /** Whether the engine has a file node for `filePath`. Distinguishes "nothing here" from "not indexed". */ |
| 345 | export function fileExists(filePath: string): string { |
no test coverage detected