pub fn write_version( project_root: &Path, version: &Version, ) -> Result<PathBuf, VersionError>
Write version into the project’s auto-detected version file.
version