Skip to main content

default_data_dir

Function default_data_dir 

Source
pub fn default_data_dir() -> PathBuf
Expand description

Returns the effective Forest data directory: the FOREST_DATA_DIR_ENV environment variable if set, otherwise the built-in default. Unlike read_config, this does not consult a configuration file and is meant for contexts (e.g. the RPC client) that need the data directory without loading the full configuration.