Returns the path to the state file (~/.oss-autopilot/state.json).
~/.oss-autopilot/state.json
Implicitly creates the data directory via getDataDir if it does not exist.
Absolute path to state.json
state.json
const statePath = getStatePath();// "/Users/you/.oss-autopilot/state.json" Copy
const statePath = getStatePath();// "/Users/you/.oss-autopilot/state.json"
Returns the path to the state file (
~/.oss-autopilot/state.json).Implicitly creates the data directory via getDataDir if it does not exist.