anchor.diff:         return buf;
        }))
        .then((StringBuffer buf) => buf.toString());
  -}+}
  
positive.code:       });
  }
  
  Future writeCaskWithCs(Directory outputDirectory, String cask_class_name, String cask_file_name, HttpClient client, String rootUrl, String zipPath, String installSection, String notes)
  {
    String release_version_file_url = "${rootUrl}/latest/VERSION";
    String release_version, release_revision, base_url, url, md5_file_url, md5, cs_md5_file_url, cs_md5, cs_url;
    bool isRawCsAvailable = false;
  
negative.code:       bin.install_symlink Hash[item, 'content_shell']
    end''';
  
  final String dev_root_url = "${ROOT_URL}/dev/release";
  final String raw_root_url = "${ROOT_URL}/be/raw";
  final String stable_root_url = "${ROOT_URL}/stable/release";
  
  final RegExp version_regex = new RegExp(r'\"version\"\s*:\s*\"([\w\.-]+)\"');
  final RegExp revision_regex = new RegExp(r'\"revision\"\s*:\s*\"([\w\.-]+)\"');
  