(path: string, reason = '')
| 137 | |
| 138 | /** Die Notiz ueber dem Editor, wenn nur Teile der Datei im Graphen stehen. */ |
| 139 | export function partialFileNote(path: string, reason = ''): string { |
| 140 | const trimmed = reason.trim(); |
| 141 | return trimmed.length > 0 |
| 142 | ? `${path} is only partially parsed: constructs inside lines ${trimmed} may be missing from the graph. ` |
| 143 | + 'The text below is the file; the graph around it is incomplete.' |
| 144 | : `${path} is only partially parsed: constructs inside the flagged ranges may be missing from the graph. ` |
| 145 | + 'The text below is the file; the graph around it is incomplete.'; |
| 146 | } |
| 147 | |
| 148 | /** |
| 149 | * Die Frische-Notiz der Statusleiste. |
no outgoing calls
no test coverage detected