コード例 #1
0
 @Override
 public List<Remote> remoteList(RemoteListRequest request) throws GitException {
   ensureExistenceRepoRootInWorkingDirectory();
   RemoteListCommand remoteListCommand = nativeGit.createRemoteListCommand();
   return remoteListCommand.setRemoteName(request.getRemote()).execute();
 }
コード例 #2
0
ファイル: NativeGitConnection.java プロジェクト: evidolob/che
 @Override
 public List<Remote> remoteList(RemoteListRequest request) throws GitException {
   RemoteListCommand remoteListCommand = nativeGit.createRemoteListCommand();
   return remoteListCommand.setRemoteName(request.getRemote()).execute();
 }