List of usage examples for org.eclipse.jgit.dircache DirCache DirCache
public DirCache(File indexLocation, FS fs)
From source file:com.mangosolutions.rcloud.rawgist.repository.git.CreateOrUpdateGistOperation.java
private DirCache getIndex(Grgit git) { File indexFile = new File(this.getLayout().getWorkingFolder(), ".index"); DirCache index = new DirCache(indexFile, FS.detect()); return index; }