Function: ensureOpxIgnored()
function ensureOpxIgnored(cwd): boolean;
Defined in: hooks.ts:74
Ignore opx's local files while keeping .opx/config.json committable.
Replaces a bare .opx / .opx/ entry, which would also hide the config,
with .opx/* plus a !.opx/config.json exception.
Parameters
| Parameter | Type |
|---|---|
cwd |
string |
Returns
boolean
true if .gitignore was changed.