Format file content with line numbers (cat -n style).
Lines longer than MAX_LINE_LENGTH are split into continuation rows such as
5.1 and 5.2. Use formatContentWithLineNumbersAndBoundaries when a
caller also needs safe source-line truncation points.
formatContentWithLineNumbers(content: string | string[], startLine: number = 1): string| Name | Type | Description |
|---|---|---|
content* | string | string[] | |
startLine | number | Default: 1 |