Package org.eclipse.jgit.api

Examples of org.eclipse.jgit.api.DeleteBranchCommand.call()


      if (gitSegment != null) {
        DeleteBranchCommand cc = git.branchDelete();
        cc.setBranchNames(gitSegment);
        // TODO: the force flag should be passed in the API call
        cc.setForce(true);
        cc.call();

        // TODO: do something with the result
        return true;
      }
      return false;
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.