( absPath: string, target: string, content?: string )
| 349 | type FileOut = FilePage | FileOther |
| 350 | |
| 351 | const fileEntryPage = async ( |
| 352 | absPath: string, |
| 353 | target: string, |
| 354 | content?: string |
| 355 | ): Promise<FilePage> => { |
| 356 | const rel = toPosix(path.relative(ROOT, absPath)) |
| 357 | return { path: rel, type: 'registry:page', target, content } |
| 358 | } |
| 359 | |
| 360 | const fileEntryOther = async ( |
| 361 | absPath: string, |
no test coverage detected