()
| 44 | } |
| 45 | |
| 46 | fn config_dir() -> PathBuf { |
| 47 | let home = std::env::var("HOME").unwrap_or_else(|_| ".".into()); |
| 48 | PathBuf::from(home).join(".commandok") |
| 49 | } |
| 50 | |
| 51 | fn config_path() -> PathBuf { |
| 52 | config_dir().join("config.toml") |
no outgoing calls
no test coverage detected