pub(crate) fn make_version_dir(
        &self,
        replica_version: &ReplicaVersion,
    ) -> OrchestratorResult<PathBuf> {
        let version_dir = self.release_content_dir.join(replica_version.as_ref());
        fs::create_dir_all(&version_dir)
            .map_err(|e| OrchestratorError::dir_create_error(&version_dir, e))?;
        Ok(version_dir)
    }
/// Make a dir to store a release package for the given replica version
///
/// Deletes the directory first if delete_first is setup, otherwise does
/// nothing.
Make a dir to store a release package for the given replica version
Deletes the directory first if delete_first is setup, otherwise does
nothing.
Make a dir to store a release package for the given replica version Deletes the directory first if delete_first is setup otherwise does nothing .
pub(crate) fn make_version_dir(
        &self,
        replica_version: &ReplicaVersion,
    ) -> OrchestratorResult<PathBuf> {
        let version_dir = self.release_content_dir.join(replica_version.as_ref());
        fs::create_dir_all(&version_dir)
            .map_err(|e| OrchestratorError::dir_create_error(&version_dir, e))?;
        Ok(version_dir)
    }
pub ( crate ) fn make_version_dir ( & self , replica_version : & ReplicaVersion , ) -> OrchestratorResult < PathBuf > { let version_dir = self . release_content_dir . join ( replica_version . as_ref ( ) ) ; fs :: create_dir_all ( & version_dir ) . map_err ( | e | OrchestratorError :: dir_create_error ( & version_dir , e ) ) ? ; Ok ( version_dir ) }
Make a dir to store a release package for the given replica version
Deletes the directory first if delete_first is setup, otherwise does
nothing.
Make a dir to store a release package for the given replica version Deletes the directory first if delete_first is setup otherwise does nothing .
&self
replica_version
&ReplicaVersion
&self
replica_version
&ReplicaVersion