reth::core::dirs

Function database_path

pub fn database_path() -> Option<PathBuf>
Expand description

Returns the path to the reth database.

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