(&self, subdirectory: &str)
| 80 | } |
| 81 | |
| 82 | fn relative_path(&self, subdirectory: &str) -> Result<PathBuf> { |
| 83 | let (part1, part2, part3) = self.parts()?; |
| 84 | let relative_path = PathBuf::from([subdirectory, part1, part2, part3].join("/")); |
| 85 | Ok(relative_path) |
| 86 | } |
| 87 | |
| 88 | fn object_filename(&self) -> Result<PathBuf> { |
| 89 | Ok(self.relative_path("objects")?.join("object.yaml")) |
no test coverage detected