(rel: string, content: string)
| 463 | let cg: CodeGraph; |
| 464 | |
| 465 | function write(rel: string, content: string) { |
| 466 | fs.writeFileSync(path.join(testDir, rel), content); |
| 467 | } |
| 468 | |
| 469 | function callersOf(fnName: string, kind: string = 'function'): string[] { |
| 470 | const results = cg.searchNodes(fnName); |