function parseFolderPath(folderPath) {
  const name = basename(folderPath);
  const splits = name.split("-");
  if (splits.length !== 2) {
    return null;
  }
  const [platform, revision] = splits;
  if (!supportedPlatforms.includes(platform)) {
    return null;
  }
  return { platform, revision };
}
@param {string} folderPath
@return {?{platform: string, revision: string}}