getVersionDir method

String getVersionDir(
  1. String versionId
)

Gets the directory where version-specific files should be stored.

versionId The version identifier string.

Returns the normalized absolute path to the version directory.

Implementation

String getVersionDir(String versionId) {
  return normalizePath(p.join(getGameDir(), 'versions', versionId));
}