(&self)
| 230 | |
| 231 | impl LogDir { |
| 232 | fn path(&self) -> &Path { |
| 233 | match self { |
| 234 | Self::Chosen(path) | Self::Default(path) => path, |
| 235 | } |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | fn log_dir(chosen: Option<OsString>, config_dir: Option<PathBuf>) -> Option<LogDir> { |
no outgoing calls