(node: FullFolderInfo)
| 324 | |
| 325 | // 3. Build the final output string |
| 326 | function isTruncated(node: FullFolderInfo): boolean { |
| 327 | if (node.hasMoreFiles || node.hasMoreSubfolders || node.isIgnored) { |
| 328 | return true; |
| 329 | } |
| 330 | for (const sub of node.subFolders) { |
| 331 | if (isTruncated(sub)) { |
| 332 | return true; |
| 333 | } |
| 334 | } |
| 335 | return false; |
| 336 | } |
| 337 | |
| 338 | let summary = `Showing up to ${mergedOptions.maxItems} items (files + folders).`; |
| 339 |
no outgoing calls
no test coverage detected