Function forest_filecoin::db::db_mode::choose_db

source ยท
pub fn choose_db(chain_data_path: &Path) -> Result<PathBuf>
Expand description

Chooses the correct database directory to use based on the [FOREST_DB_DEV_MODE] environment variable (or the lack of it).