Skip to main content

test_config

Function test_config 

Source
pub fn test_config(dir: &Path) -> Config
Expand description

A Config rooted at dir, for tests that don’t need a separate home subdirectory. config::test_util::config_in is a distinct homed variant (it additionally roots home_dir under dir.join("home")) and stays separate from this one.