(file: string)
| 213 | } |
| 214 | |
| 215 | function chmodExecutable(file: string): void { |
| 216 | try { |
| 217 | fs.chmodSync(file, 0o755); |
| 218 | } catch { |
| 219 | /* chmod is a no-op / unsupported on some platforms (e.g. Windows) */ |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | /** |
| 224 | * Install (or update) the CodeGraph sync hooks in a git repository. |
no outgoing calls
no test coverage detected