Package org.eclipse.egit.core.internal.indexdiff

Examples of org.eclipse.egit.core.internal.indexdiff.IndexDiffCacheEntry.refresh()


        ResourceUtil.splitPathsByRepository(paths);
    for (Repository repository : pathsByRepository.keySet()) {
      IndexDiffCache cache = org.eclipse.egit.core.Activator.getDefault().getIndexDiffCache();
      IndexDiffCacheEntry entry = cache.getIndexDiffCacheEntry(repository);
      if (entry != null)
        entry.refresh();
    }
    GitLightweightDecorator.refresh();
  }
}
View Full Code Here


      IndexDiffCache cache = Activator.getDefault().getIndexDiffCache();
      IndexDiffCacheEntry cacheEntry = cache.getIndexDiffCacheEntry(repository);
      if (cacheEntry != null)
        if (refreshAll)
          cacheEntry.refresh();
        else
          cacheEntry.refreshFiles(files);
    }
  }
}
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.