(dir, ext)
| 43 | } |
| 44 | |
| 45 | function listFiles(dir, ext) { |
| 46 | if (!fs.existsSync(dir)) return []; |
| 47 | return fs.readdirSync(dir).filter(f => !ext || f.endsWith(ext)); |
| 48 | } |
| 49 | |
| 50 | function todayPrefix() { |
| 51 | return new Date().toISOString().slice(0, 10); |
nothing calls this directly
no outgoing calls
no test coverage detected