Package org.eclipse.jgit.api

Examples of org.eclipse.jgit.api.Git.clean()


        public void run(IProgressMonitor monitor) throws InvocationTargetException,
            InterruptedException {
          monitor.beginTask(UIText.CleanRepositoryPage_findingItems, IProgressMonitor.UNKNOWN);

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


        public void run(IProgressMonitor monitor) throws InvocationTargetException,
            InterruptedException {
          monitor.beginTask(UIText.CleanRepositoryPage_cleaningItems, IProgressMonitor.UNKNOWN);

          Git git = Git.wrap(repository);
          CleanCommand command = git.clean().setDryRun(false);
          command.setCleanDirectories(cleanDirectories);
          command.setIgnore(!includeIgnored);
          command.setPaths(itemsToClean);
          try {
            command.call();
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.