(file: string)
| 110 | } |
| 111 | |
| 112 | function chmodExecutable(file: string): void { |
| 113 | try { |
| 114 | fs.chmodSync(file, 0o755); |
| 115 | } catch { |
| 116 | /* chmod is a no-op / unsupported on some platforms (e.g. Windows) */ |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | /** |
| 121 | * Install (or update) the CodeGraph sync hooks in a git repository. |
no outgoing calls
no test coverage detected