Module dirs

Source
Expand description

reth data directories.

Structs§

ChainPath
Wrapper type around PlatformPath that includes a Chain, used for separating reth data for different networks.
DataDirPath
Returns the path to the reth data dir.
LogsDir
Returns the path to the reth logs directory.
MaybePlatformPath
An Optional wrapper type around PlatformPath.
PlatformPath
A wrapper type that either parses a user-given path or defaults to an OS-specific path.

Traits§

XdgPath
A small helper trait for unit structs that represent a standard path following the XDG path specification.

Functions§

cache_dir
Returns the path to the reth cache directory.
config_dir
Returns the path to the reth configuration directory.
config_path_prefix
Constructs a string to be used as a path for configuration and db paths.
data_dir
Returns the path to the reth data directory.
database_path
Returns the path to the reth database.
logs_dir
Returns the path to the reth logs directory.