(&self)
| 38 | |
| 39 | pub const CURRENT_VERSION_DIR_NAME: &str = "current"; |
| 40 | pub fn current_version_dir(&self) -> VersionBinDir { |
| 41 | VersionBinDir(self.0.join(Self::CURRENT_VERSION_DIR_NAME)) |
| 42 | } |
| 43 | |
| 44 | pub fn set_current_version(&self, version: &str) -> anyhow::Result<()> { |
| 45 | self.current_version_dir().link_to(self.version_dir(version).as_ref()) |
no test coverage detected