reth_node_core::dirs

Function data_dir

Source
pub fn data_dir() -> Option<PathBuf>
Expand description

Returns the path to the reth data directory.

Refer to [dirs_next::data_dir] for cross-platform behavior.