(content)
| 381 | }).sort((left, right) => new Date(right.modifiedAt).getTime() - new Date(left.modifiedAt).getTime()); |
| 382 | } |
| 383 | |
| 384 | function countTableAgents(content) { |
| 385 | const rows = content.split(/\r?\n/).filter((line) => /^\|\s*\d+\s*\|/.test(line)); |
| 386 | return rows.length; |
| 387 | } |
| 388 | |
| 389 | function safeMtime(filePath) { |