Skip to main content

agent_dir_with

Function agent_dir_with 

Source
pub fn agent_dir_with<F>(lookup: F) -> PathBuf
where F: Fn(&str) -> Option<String>,
Expand description

Test seam: lookup env vars through a closure. Production calls agent_dir which delegates to env::var.