(path)
| 74 | } |
| 75 | |
| 76 | async function isDirectory(path) { |
| 77 | try { |
| 78 | return (await stat(path)).isDirectory(); |
| 79 | } catch { |
| 80 | return false; |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | // Explicit provenance marker the cockpit writes at the top of artifacts it owns, |
| 85 | // so a root plan/progress/summary self-identifies as modernization state even |