Function: readState()
function readState(cwd): OpxState;
Defined in: state.ts:129
Read .opx/state.json. The file is a disposable cache, so a missing or
unreadable file gives an empty state rather than an error.
Parameters
| Parameter | Type | Description |
|---|---|---|
cwd |
string |
The repository root. |