pub fn get_state_dir(local: bool) -> Result<PathBuf>Expand description
Get the state directory path
Priority order:
- Environment variable RS_HACK_STATE_DIR (highest priority)
- –local-state flag (uses ./.rs-hack)
- Global default (uses system data directory)