(mut self)
| 377 | |
| 378 | impl Config { |
| 379 | pub fn abs_path(mut self) -> Result<Self> { |
| 380 | self.image.path = self.image.path.absolutize()?.to_path_buf(); |
| 381 | self.run_path = self.run_path.absolutize()?.to_path_buf(); |
| 382 | Ok(self) |
| 383 | } |
| 384 | } |
| 385 | |
| 386 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize, Serialize)] |