Skip to main content

resolve_path

Function resolve_path 

Source
pub fn resolve_path(args: &[String], env: Option<String>) -> PathBuf
Expand description

Resolve the config path by precedence: CLI flag > env var > default. args are the process args WITHOUT the program name; env is WAF_CONFIG.