pub fn effective_path_opt(p: Option<&Path>) -> PathBuf
Convert an optional Path into an effective absolute project root path. None or “.” resolve to the detected project root; any other path is returned as owned PathBuf.