Function: writeState()
function writeState(cwd, state): void;
Defined in: state.ts:154
Write .opx/state.json, creating the folder if needed.
Parameters
| Parameter | Type | Description |
|---|---|---|
cwd |
string |
The repository root. |
state |
OpxState |
The state to save. |
Returns
void