Package org.eclipse.jgit.api

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


          Git git = Git.wrap(repository);
          CleanCommand command = git.clean().setDryRun(true);
          command.setCleanDirectories(cleanDirectories);
          command.setIgnore(!includeIgnored);
          try {
            final Set<String> paths = command.call();

            getShell().getDisplay().syncExec(new Runnable() {
              public void run() {
                cleanTable.setInput(paths);
              }
View Full Code Here


          CleanCommand command = git.clean().setDryRun(false);
          command.setCleanDirectories(cleanDirectories);
          command.setIgnore(!includeIgnored);
          command.setPaths(itemsToClean);
          try {
            command.call();
          } catch (GitAPIException ex) {
            Activator.logError("cannot call clean command!", ex); //$NON-NLS-1$
          }

          try {
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.