(filePath, limit)
| 90 | } |
| 91 | } |
| 92 | |
| 93 | function tailJsonl(filePath, limit) { |
| 94 | const detail = readJsonlDetailed(filePath); |
| 95 | if (!detail.exists) return []; |
| 96 | return detail.entries.slice(Math.max(0, detail.entries.length - limit)); |
| 97 | } |
| 98 | |
| 99 | function countJsonlLines(filePath) { |
no test coverage detected