()
| 246 | } |
| 247 | |
| 248 | fn file_settings() -> Option<(String, LogDir)> { |
| 249 | let directives = file_directives(std::env::var("ATOMIC_LOG").ok())?; |
| 250 | let dir = log_dir( |
| 251 | std::env::var_os("ATOMIC_LOG_DIR"), |
| 252 | atomic_config::global_config_dir(), |
| 253 | )?; |
| 254 | Some((directives, dir)) |
| 255 | } |
| 256 | |
| 257 | /// The command path clap matched, such as `git import`. |
| 258 | fn command_path(matches: &clap::ArgMatches) -> String { |
no test coverage detected