Package org.eclipse.jgit.internal.storage.file

Examples of org.eclipse.jgit.internal.storage.file.GC.gc()


class Gc extends TextBuiltin {
  @Override
  protected void run() throws Exception {
    GC gc = new GC((FileRepository) db);
    gc.setProgressMonitor(new TextProgressMonitor());
    gc.gc();
  }
}
View Full Code Here


    gc.setProgressMonitor(monitor);
    if (this.expire != null)
      gc.setExpire(expire);

    try {
      gc.gc();
      return toProperties(gc.getStatistics());
    } catch (IOException e) {
      throw new JGitInternalException(JGitText.get().gcFailed, e);
    } catch (ParseException e) {
      throw new JGitInternalException(JGitText.get().gcFailed, e);
View Full Code Here

    gc.setProgressMonitor(monitor);
    if (this.expire != null)
      gc.setExpire(expire);

    try {
      gc.gc();
      return toProperties(gc.getStatistics());
    } catch (IOException e) {
      throw new JGitInternalException(JGitText.get().gcFailed, e);
    } catch (ParseException e) {
      throw new JGitInternalException(JGitText.get().gcFailed, e);
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.