reth::core::utils

Function parse_path

Source
pub fn parse_path(value: &str) -> Result<PathBuf, LookupError<VarError>>
Expand description

Parses a user-specified path with support for environment variables and common shorthands (e.g. ~ for the user’s home directory).