Package org.eclipse.orion.server.git.objects

Examples of org.eclipse.orion.server.git.objects.RemoteBranch.toJSON()


      try {
        db = FileRepositoryBuilder.create(gitDir);
        Remote remote = new Remote(cloneLocation, db, p.segment(0));
        RemoteBranch remoteBranch = new RemoteBranch(cloneLocation, db, remote, GitUtils.decode(p.segment(1)));
        if (remoteBranch.exists()) {
          JSONObject result = remoteBranch.toJSON();
          OrionServlet.writeJSONResponse(request, response, result, JsonURIUnqualificationStrategy.ALL_NO_GIT);
          return true;
        }
      } finally {
        if (db != null) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.