Function parse_path

Source
fn parse_path(key: &str) -> Option<PathBuf>
Expand description

Extracts the env var by key and parses it as a PathBuf

§Arguments

  • key - Key for the environment variable.

§Returns

Returns an option of PathBuf if the value is available.