pub(crate) fn replay_state_dir( guard: Option<&str>, dir: Option<&str>, parquet_root: &Path, ) -> Option<PathBuf>
Pure part of replay_state_dir_from_env.
replay_state_dir_from_env