Beispiel #1
0
 /**
  * Delete repository with given id
  *
  * @param gitHubClient
  * @param repository
  * @throws IOException
  */
 public static void deleteRepository(GitHubClient gitHubClient, IRepositoryIdProvider repository)
     throws IOException {
   String repoId = getId(repository);
   StringBuilder uri = new StringBuilder(SEGMENT_REPOS);
   uri.append('/').append(repoId);
   gitHubClient.delete(uri.toString());
 }