(dir: string)
| 2 | import { readLines, scanFiles, writeFileLines } from './util.ts'; |
| 3 | |
| 4 | export function main(dir: string) { |
| 5 | console.log('DOC SYNC', dir); |
| 6 | scanFiles(dir, async (file) => { |
| 7 | if (file.endsWith('.ts')) { |
| 8 | await readLines(file).then((lines) => scanForDocDirective(file, lines)); |
| 9 | } |
| 10 | }); |
| 11 | } |
| 12 | |
| 13 | async function scanForDocDirective(file: string, lines: string[]) { |
| 14 | const output: string[] = []; |
no test coverage detected
searching dependent graphs…