Skip to main content

locate_data_dir_from_env

Function locate_data_dir_from_env 

Source
pub fn locate_data_dir_from_env() -> Result<ResolvedDataDir, PortError>
Expand description

Resolves from the process environment and touches nothing.

Reporting where memory would live must not bring it into being: kmp-mcp info and kmp-mcp doctor run wherever a user happens to be standing, and a diagnostic that leaves a .kernel/ behind in an unrelated repository has answered a question by changing the answer.