Path to a directory based on a resource name.
(&self, name: T)
| 290 | |
| 291 | /// Path to a directory based on a resource name. |
| 292 | fn path<T: AsRef<ResourceName>>(&self, name: T) -> PathBuf { |
| 293 | let name: &ResourceName = name.as_ref(); |
| 294 | self.dir.join(&name.0) |
| 295 | } |
| 296 | |
| 297 | /// Path where the state of the materializer is saved. |
| 298 | fn state_path(&self) -> PathBuf { |
no test coverage detected